Long story short, static_cast won't compile:
sketch_apr14a:5: error: invalid 'static_cast' from type 'uint32_t*' {aka 'long unsigned int*'} to type 'uintptr_t' {aka 'unsigned int'}
5 | Serial.println(static_cast<uintptr_t> (iPoint));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
invalid 'static_cast' from type 'uint32_t*' {aka 'long unsigned int*'} to type 'uintptr_t' {aka 'unsigned int'}