; ; CheckpointGameObject::setupCustomSprites from 0x4ec20c to 0x4ec48e (642 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:51:09 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x4ec20c SUB SP, SP, #0x18 ; +0x4, 0x4ec210 LDR.W R8, =(__stack_chk_guard_ptr - 0x4EC220) ; +0x6, 0x4ec212 ADD R4, SP, #0x18+var_10 ; +0xa, 0x4ec216 LDR R1, =(aCheckpointD010 - 0x4EC22A); "checkpoint_d_01_001.png" ; +0xc, 0x4ec218 MOVS R2, #1 ; +0xe, 0x4ec21a ADD R8, PC; __stack_chk_guard_ptr ; +0x10, 0x4ec21c LDR.W R8, [R8]; __stack_chk_guard ; +0x12, 0x4ec21e STRB.W R2, [R0,#0x1D7] ; +0x16, 0x4ec222 ADD R1, PC; "checkpoint_d_01_001.png" ; +0x1a, 0x4ec226 MOVS R2, #0x17 ; +0x1c, 0x4ec228 LDR.W R3, [R8] ; +0x1e, 0x4ec22a MOV R6, R0 ; +0x22, 0x4ec22e STR R3, [SP,#0x18+var_4] ; +0x24, 0x4ec230 MOVS R3, #0 ; +0x26, 0x4ec232 STRB.W R3, [R0,#0x395] ; +0x28, 0x4ec234 MOV R0, R4 ; +0x2c, 0x4ec238 STR R3, [SP,#0x18+var_10] ; +0x2e, 0x4ec23a STR R3, [SP,#0x18+var_C] ; +0x30, 0x4ec23c STR R3, [SP,#0x18+var_8] ; +0x32, 0x4ec23e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x34, 0x4ec240 MOVS R1, #0; float ; +0x38, 0x4ec244 MOV R0, SP; this ; +0x3a, 0x4ec246 MOV R2, R1; float ; +0x3c, 0x4ec248 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3e, 0x4ec24a MOV R0, R6; cocos2d::CCPoint * ; +0x42, 0x4ec24e MOV R1, R4 ; +0x44, 0x4ec250 MOV R2, SP ; +0x46, 0x4ec252 MOV.W R3, #0xFFFFFFFF ; +0x48, 0x4ec254 BL _ZN10GameObject14addCustomChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x4c, 0x4ec258 LDR R3, [R0] ; +0x50, 0x4ec25c MOVW R1, #0x465 ; +0x52, 0x4ec25e LDR R3, [R3,#0x24] ; +0x56, 0x4ec262 BLX R3 ; +0x58, 0x4ec264 MOV R0, R4 ; +0x5a, 0x4ec266 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5c, 0x4ec268 LDR R1, =(aCheckpointD020 - 0x4EC276); "checkpoint_d_02_001.png" ; +0x60, 0x4ec26c MOV R0, R4 ; +0x62, 0x4ec26e MOVS R2, #0x17 ; +0x64, 0x4ec270 ADD R1, PC; "checkpoint_d_02_001.png" ; +0x66, 0x4ec272 MOVS R3, #0 ; +0x68, 0x4ec274 STR R3, [SP,#0x18+var_10] ; +0x6a, 0x4ec276 STR R3, [SP,#0x18+var_C] ; +0x6c, 0x4ec278 STR R3, [SP,#0x18+var_8] ; +0x6e, 0x4ec27a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x70, 0x4ec27c MOVS R1, #0; float ; +0x74, 0x4ec280 MOV R0, SP; this ; +0x76, 0x4ec282 MOV R2, R1; float ; +0x78, 0x4ec284 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x7a, 0x4ec286 MOV R0, R6; cocos2d::CCPoint * ; +0x7e, 0x4ec28a MOV R1, R4 ; +0x80, 0x4ec28c MOV R2, SP ; +0x82, 0x4ec28e MOV.W R3, #0xFFFFFFFF ; +0x84, 0x4ec290 BL _ZN10GameObject14addCustomChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x88, 0x4ec294 LDR R3, [R0] ; +0x8c, 0x4ec298 MOVW R1, #0x466 ; +0x8e, 0x4ec29a LDR R3, [R3,#0x24] ; +0x92, 0x4ec29e BLX R3 ; +0x94, 0x4ec2a0 MOV R0, R4 ; +0x96, 0x4ec2a2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x98, 0x4ec2a4 LDR R1, =(aCheckpointD030 - 0x4EC2B2); "checkpoint_d_03_001.png" ; +0x9c, 0x4ec2a8 MOV R0, R4 ; +0x9e, 0x4ec2aa MOVS R2, #0x17 ; +0xa0, 0x4ec2ac ADD R1, PC; "checkpoint_d_03_001.png" ; +0xa2, 0x4ec2ae MOVS R3, #0 ; +0xa4, 0x4ec2b0 STR R3, [SP,#0x18+var_10] ; +0xa6, 0x4ec2b2 STR R3, [SP,#0x18+var_C] ; +0xa8, 0x4ec2b4 STR R3, [SP,#0x18+var_8] ; +0xaa, 0x4ec2b6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xac, 0x4ec2b8 MOVS R1, #0; float ; +0xb0, 0x4ec2bc MOV R0, SP; this ; +0xb2, 0x4ec2be MOV R2, R1; float ; +0xb4, 0x4ec2c0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb6, 0x4ec2c2 MOV R0, R6; cocos2d::CCPoint * ; +0xba, 0x4ec2c6 MOV R1, R4 ; +0xbc, 0x4ec2c8 MOV R2, SP ; +0xbe, 0x4ec2ca MOV.W R3, #0xFFFFFFFF ; +0xc0, 0x4ec2cc BL _ZN10GameObject14addCustomChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0xc4, 0x4ec2d0 LDR R3, [R0] ; +0xc8, 0x4ec2d4 MOVW R1, #0x467 ; +0xca, 0x4ec2d6 LDR R3, [R3,#0x24] ; +0xce, 0x4ec2da BLX R3 ; +0xd0, 0x4ec2dc MOV R0, R4 ; +0xd2, 0x4ec2de BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xd4, 0x4ec2e0 LDR R1, =(aCheckpoint0100 - 0x4EC2EE); "checkpoint_01_001.png" ; +0xd8, 0x4ec2e4 MOV R0, R4 ; +0xda, 0x4ec2e6 MOVS R2, #0x15 ; +0xdc, 0x4ec2e8 ADD R1, PC; "checkpoint_01_001.png" ; +0xde, 0x4ec2ea MOVS R3, #0 ; +0xe0, 0x4ec2ec STR R3, [SP,#0x18+var_10] ; +0xe2, 0x4ec2ee STR R3, [SP,#0x18+var_C] ; +0xe4, 0x4ec2f0 STR R3, [SP,#0x18+var_8] ; +0xe6, 0x4ec2f2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xe8, 0x4ec2f4 MOVS R1, #0; float ; +0xec, 0x4ec2f8 MOV R0, SP; this ; +0xee, 0x4ec2fa MOV R2, R1; float ; +0xf0, 0x4ec2fc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xf2, 0x4ec2fe MOV R0, R6; cocos2d::CCPoint * ; +0xf6, 0x4ec302 MOV R1, R4 ; +0xf8, 0x4ec304 MOV R2, SP ; +0xfa, 0x4ec306 MOV.W R3, #0xFFFFFFFF ; +0xfc, 0x4ec308 BL _ZN10GameObject14addCustomChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x100, 0x4ec30c MOV R7, R0 ; +0x104, 0x4ec310 MOV R0, R4 ; +0x106, 0x4ec312 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x108, 0x4ec314 LDR R3, [R7] ; +0x10c, 0x4ec318 MOV R0, R7 ; +0x10e, 0x4ec31a MOV.W R1, #0x468 ; +0x110, 0x4ec31c LDR R3, [R3,#0x24] ; +0x114, 0x4ec320 BLX R3 ; +0x116, 0x4ec322 LDR R3, [R7] ; +0x118, 0x4ec324 MOV R0, R7 ; +0x11a, 0x4ec326 MOVS R1, #0 ; +0x11c, 0x4ec328 LDR.W R3, [R3,#0xAC] ; +0x11e, 0x4ec32a BLX R3 ; +0x122, 0x4ec32e LDR R1, =(aCheckpointD010 - 0x4EC33A); "checkpoint_d_01_001.png" ; +0x124, 0x4ec330 MOV R0, R4 ; +0x126, 0x4ec332 MOVS R2, #0x17 ; +0x128, 0x4ec334 ADD R1, PC; "checkpoint_d_01_001.png" ; +0x12a, 0x4ec336 MOVS R3, #0 ; +0x12c, 0x4ec338 STR R3, [SP,#0x18+var_10] ; +0x12e, 0x4ec33a STR R3, [SP,#0x18+var_C] ; +0x130, 0x4ec33c STR R3, [SP,#0x18+var_8] ; +0x132, 0x4ec33e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x134, 0x4ec340 MOV R0, R6; this ; +0x138, 0x4ec344 MOV R1, R4 ; +0x13a, 0x4ec346 BL _ZN10GameObject19addCustomColorChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GameObject::addCustomColorChild(std::string) ; +0x13c, 0x4ec348 MOVS R3, #1 ; +0x140, 0x4ec34c STRB.W R3, [R0,#0x1D7] ; +0x142, 0x4ec34e MOV R0, R4 ; +0x146, 0x4ec352 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x148, 0x4ec354 LDR R1, =(aCheckpointD01C - 0x4EC362); "checkpoint_d_01_color_001.png" ; +0x14c, 0x4ec358 MOV R0, R4 ; +0x14e, 0x4ec35a MOVS R2, #0x1D ; +0x150, 0x4ec35c ADD R1, PC; "checkpoint_d_01_color_001.png" ; +0x152, 0x4ec35e MOVS R3, #0 ; +0x154, 0x4ec360 STR R3, [SP,#0x18+var_10] ; +0x156, 0x4ec362 STR R3, [SP,#0x18+var_C] ; +0x158, 0x4ec364 STR R3, [SP,#0x18+var_8] ; +0x15a, 0x4ec366 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x15c, 0x4ec368 LDR R1, =(qword_D2BC00 - 0x4EC374) ; +0x160, 0x4ec36c MOV R0, SP; this ; +0x162, 0x4ec36e ADD R1, PC; qword_D2BC00 ; +0x164, 0x4ec370 ADDS R1, #(unk_D2BC08 - 0xD2BC00); cocos2d::CCPoint * ; +0x166, 0x4ec372 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x168, 0x4ec374 MOV R0, R6 ; +0x16c, 0x4ec378 MOV R1, R4 ; +0x16e, 0x4ec37a MOV R2, SP ; +0x170, 0x4ec37c MOV.W R3, #0xFFFFFFFF ; +0x172, 0x4ec37e BL _ZN10GameObject27addInternalCustomColorChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x176, 0x4ec382 LDR R3, [R0] ; +0x17a, 0x4ec386 MOVW R1, #0x465 ; +0x17c, 0x4ec388 LDR R3, [R3,#0x24] ; +0x180, 0x4ec38c BLX R3 ; +0x182, 0x4ec38e MOV R0, R4 ; +0x184, 0x4ec390 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x186, 0x4ec392 LDR R1, =(aCheckpointD02C - 0x4EC3A0); "checkpoint_d_02_color_001.png" ; +0x18a, 0x4ec396 MOV R0, R4 ; +0x18c, 0x4ec398 MOVS R2, #0x1D ; +0x18e, 0x4ec39a ADD R1, PC; "checkpoint_d_02_color_001.png" ; +0x190, 0x4ec39c MOVS R3, #0 ; +0x192, 0x4ec39e STR R3, [SP,#0x18+var_10] ; +0x194, 0x4ec3a0 STR R3, [SP,#0x18+var_C] ; +0x196, 0x4ec3a2 STR R3, [SP,#0x18+var_8] ; +0x198, 0x4ec3a4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x19a, 0x4ec3a6 LDR R1, =(qword_D2BC00 - 0x4EC3B2) ; +0x19e, 0x4ec3aa MOV R0, SP; this ; +0x1a0, 0x4ec3ac ADD R1, PC; qword_D2BC00 ; +0x1a2, 0x4ec3ae ADDS R1, #(unk_D2BC08 - 0xD2BC00); cocos2d::CCPoint * ; +0x1a4, 0x4ec3b0 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1a6, 0x4ec3b2 MOV R0, R6 ; +0x1aa, 0x4ec3b6 MOV R1, R4 ; +0x1ac, 0x4ec3b8 MOV R2, SP ; +0x1ae, 0x4ec3ba MOV.W R3, #0xFFFFFFFF ; +0x1b0, 0x4ec3bc BL _ZN10GameObject27addInternalCustomColorChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x1b4, 0x4ec3c0 LDR R3, [R0] ; +0x1b8, 0x4ec3c4 MOVW R1, #0x466 ; +0x1ba, 0x4ec3c6 LDR R3, [R3,#0x24] ; +0x1be, 0x4ec3ca BLX R3 ; +0x1c0, 0x4ec3cc MOV R0, R4 ; +0x1c2, 0x4ec3ce BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1c4, 0x4ec3d0 LDR R1, =(aCheckpointD03C - 0x4EC3DE); "checkpoint_d_03_color_001.png" ; +0x1c8, 0x4ec3d4 MOV R0, R4 ; +0x1ca, 0x4ec3d6 MOVS R2, #0x1D ; +0x1cc, 0x4ec3d8 ADD R1, PC; "checkpoint_d_03_color_001.png" ; +0x1ce, 0x4ec3da MOVS R3, #0 ; +0x1d0, 0x4ec3dc STR R3, [SP,#0x18+var_10] ; +0x1d2, 0x4ec3de STR R3, [SP,#0x18+var_C] ; +0x1d4, 0x4ec3e0 STR R3, [SP,#0x18+var_8] ; +0x1d6, 0x4ec3e2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x1d8, 0x4ec3e4 LDR R1, =(qword_D2BC00 - 0x4EC3F0) ; +0x1dc, 0x4ec3e8 MOV R0, SP; this ; +0x1de, 0x4ec3ea ADD R1, PC; qword_D2BC00 ; +0x1e0, 0x4ec3ec ADDS R1, #(unk_D2BC08 - 0xD2BC00); cocos2d::CCPoint * ; +0x1e2, 0x4ec3ee BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1e4, 0x4ec3f0 MOV R0, R6 ; +0x1e8, 0x4ec3f4 MOV R1, R4 ; +0x1ea, 0x4ec3f6 MOV R2, SP ; +0x1ec, 0x4ec3f8 MOV.W R3, #0xFFFFFFFF ; +0x1ee, 0x4ec3fa BL _ZN10GameObject27addInternalCustomColorChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x1f2, 0x4ec3fe LDR R3, [R0] ; +0x1f6, 0x4ec402 MOVW R1, #0x467 ; +0x1f8, 0x4ec404 LDR R3, [R3,#0x24] ; +0x1fc, 0x4ec408 BLX R3 ; +0x1fe, 0x4ec40a MOV R0, R4 ; +0x200, 0x4ec40c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x202, 0x4ec40e LDR R1, =(aCheckpoint01Co - 0x4EC41C); "checkpoint_01_color_001.png" ; +0x206, 0x4ec412 MOV R0, R4 ; +0x208, 0x4ec414 MOVS R2, #0x1B ; +0x20a, 0x4ec416 ADD R1, PC; "checkpoint_01_color_001.png" ; +0x20c, 0x4ec418 MOVS R3, #0 ; +0x20e, 0x4ec41a STR R3, [SP,#0x18+var_10] ; +0x210, 0x4ec41c STR R3, [SP,#0x18+var_C] ; +0x212, 0x4ec41e STR R3, [SP,#0x18+var_8] ; +0x214, 0x4ec420 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x216, 0x4ec422 LDR R1, =(qword_D2BC00 - 0x4EC42E) ; +0x21a, 0x4ec426 MOV R0, SP; this ; +0x21c, 0x4ec428 ADD R1, PC; qword_D2BC00 ; +0x21e, 0x4ec42a ADDS R1, #(unk_D2BC08 - 0xD2BC00); cocos2d::CCPoint * ; +0x220, 0x4ec42c BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x222, 0x4ec42e MOV R0, R6 ; +0x226, 0x4ec432 MOV R1, R4 ; +0x228, 0x4ec434 MOV R2, SP ; +0x22a, 0x4ec436 MOV.W R3, #0xFFFFFFFF ; +0x22c, 0x4ec438 BL _ZN10GameObject27addInternalCustomColorChildENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x230, 0x4ec43c MOV R5, R0 ; +0x234, 0x4ec440 MOV R0, R4 ; +0x236, 0x4ec442 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x238, 0x4ec444 LDR R3, [R5] ; +0x23c, 0x4ec448 MOV R0, R5 ; +0x23e, 0x4ec44a MOV.W R1, #0x468 ; +0x240, 0x4ec44c LDR R3, [R3,#0x24] ; +0x244, 0x4ec450 BLX R3 ; +0x246, 0x4ec452 LDR R3, [R5] ; +0x248, 0x4ec454 MOV R0, R5 ; +0x24a, 0x4ec456 MOVS R1, #0 ; +0x24c, 0x4ec458 LDR.W R3, [R3,#0xAC] ; +0x24e, 0x4ec45a BLX R3 ; +0x252, 0x4ec45e LDR R2, [SP,#0x18+var_4] ; +0x254, 0x4ec460 LDR.W R3, [R8] ; +0x256, 0x4ec462 CMP R2, R3 ; +0x25a, 0x4ec466 BEQ loc_4EC488 ; +0x25c, 0x4ec468 BLX __stack_chk_fail ; +0x25e, 0x4ec46a B loc_4EC470 ; +0x262, 0x4ec46e MOV R0, R4 ; +0x264, 0x4ec470 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x266, 0x4ec472 BL __cxa_end_cleanup ; +0x26a, 0x4ec476 B loc_4EC470 ; +0x26e, 0x4ec47a B loc_4EC470 ; +0x270, 0x4ec47c B loc_4EC470 ; +0x272, 0x4ec47e B loc_4EC470 ; +0x274, 0x4ec480 B loc_4EC470 ; +0x276, 0x4ec482 B loc_4EC470 ; +0x278, 0x4ec484 B loc_4EC470 ; +0x27a, 0x4ec486 ADD SP, SP, #0x18 ; +0x27c, 0x4ec488 POP.W {R4-R8,PC} ; +0x27e, 0x4ec48a