; ; CheckpointGameObject::setupCustomSprites from 0x750158 to 0x750644 (1260 bytes) ; ; 2 xrefs: ; > @ 0x6f918 ; > @ 0x116f338 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#var_70]! ; +0x0, 0x750158 MOV W2, #1 ; +0x4, 0x75015c MOV X29, SP ; +0x8, 0x750160 STP X25, X26, [SP,#0x70+var_30] ; +0xc, 0x750164 ADRP X25, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x750168 ADRP X26, #aCheckpointD010@PAGE; "checkpoint_d_01_001.png" ; +0x14, 0x75016c STP X21, X22, [SP,#0x70+var_50] ; +0x18, 0x750170 MOV X22, X0 ; +0x1c, 0x750174 ADD X1, X26, #aCheckpointD010@PAGEOFF; "checkpoint_d_01_001.png" ; +0x20, 0x750178 LDR X3, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x75017c STP X19, X20, [SP,#0x70+var_60] ; +0x28, 0x750180 STP X23, X24, [SP,#0x70+var_40] ; +0x2c, 0x750184 LDR X3, [X3] ; +0x30, 0x750188 ADD X19, X29, #0x70+var_10 ; +0x34, 0x75018c ADD X23, X29, #0x70+var_20 ; +0x38, 0x750190 MOV X0, X19; int ; +0x3c, 0x750194 STRB W2, [X22,#0x22F] ; +0x40, 0x750198 MOV X2, X23 ; +0x44, 0x75019c STRB WZR, [X22,#0x40D] ; +0x48, 0x7501a0 ADD X20, X29, #0x70+var_18 ; +0x4c, 0x7501a4 STR X3, [X29,#0x70+var_8] ; +0x50, 0x7501a8 BL sub_D153B8 ; +0x54, 0x7501ac FMOV S0, WZR; float ; +0x58, 0x7501b0 MOV X0, X20; this ; +0x5c, 0x7501b4 FMOV S1, S0; float ; +0x60, 0x7501b8 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x7501bc MOV X0, X22 ; +0x68, 0x7501c0 MOV X1, X19 ; +0x6c, 0x7501c4 MOV X2, X20 ; +0x70, 0x7501c8 MOV W3, #0xFFFFFFFF ; +0x74, 0x7501cc BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x78, 0x7501d0 LDR X2, [X0] ; +0x7c, 0x7501d4 MOV W1, #0x465 ; +0x80, 0x7501d8 LDR X2, [X2,#0x48] ; +0x84, 0x7501dc BLR X2 ; +0x88, 0x7501e0 ADRP X21, #off_122EFE8@PAGE ; +0x8c, 0x7501e4 LDR X0, [X29,#0x70+var_10] ; +0x90, 0x7501e8 SUB X0, X0, #0x18 ; +0x94, 0x7501ec LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x98, 0x7501f0 CMP X0, X1 ; +0x9c, 0x7501f4 B.NE loc_750520 ; +0xa0, 0x7501f8 ADRP X1, #aCheckpointD020@PAGE; "checkpoint_d_02_001.png" ; +0xa4, 0x7501fc MOV X0, X19; int ; +0xa8, 0x750200 ADD X1, X1, #aCheckpointD020@PAGEOFF; "checkpoint_d_02_001.png" ; +0xac, 0x750204 MOV X2, X23 ; +0xb0, 0x750208 BL sub_D153B8 ; +0xb4, 0x75020c FMOV S0, WZR; float ; +0xb8, 0x750210 MOV X0, X20; this ; +0xbc, 0x750214 FMOV S1, S0; float ; +0xc0, 0x750218 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc4, 0x75021c MOV X0, X22 ; +0xc8, 0x750220 MOV X1, X19 ; +0xcc, 0x750224 MOV X2, X20 ; +0xd0, 0x750228 MOV W3, #0xFFFFFFFF ; +0xd4, 0x75022c BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0xd8, 0x750230 LDR X2, [X0] ; +0xdc, 0x750234 MOV W1, #0x466 ; +0xe0, 0x750238 LDR X2, [X2,#0x48] ; +0xe4, 0x75023c BLR X2 ; +0xe8, 0x750240 LDR X0, [X29,#0x70+var_10] ; +0xec, 0x750244 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xf0, 0x750248 SUB X0, X0, #0x18 ; +0xf4, 0x75024c CMP X0, X1 ; +0xf8, 0x750250 B.NE loc_75052C ; +0xfc, 0x750254 ADRP X1, #aCheckpointD030@PAGE; "checkpoint_d_03_001.png" ; +0x100, 0x750258 MOV X0, X19; int ; +0x104, 0x75025c ADD X1, X1, #aCheckpointD030@PAGEOFF; "checkpoint_d_03_001.png" ; +0x108, 0x750260 MOV X2, X23 ; +0x10c, 0x750264 BL sub_D153B8 ; +0x110, 0x750268 FMOV S0, WZR; float ; +0x114, 0x75026c MOV X0, X20; this ; +0x118, 0x750270 FMOV S1, S0; float ; +0x11c, 0x750274 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x120, 0x750278 MOV X0, X22 ; +0x124, 0x75027c MOV X1, X19 ; +0x128, 0x750280 MOV X2, X20 ; +0x12c, 0x750284 MOV W3, #0xFFFFFFFF ; +0x130, 0x750288 BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x134, 0x75028c LDR X2, [X0] ; +0x138, 0x750290 MOV W1, #0x467 ; +0x13c, 0x750294 LDR X2, [X2,#0x48] ; +0x140, 0x750298 BLR X2 ; +0x144, 0x75029c LDR X0, [X29,#0x70+var_10] ; +0x148, 0x7502a0 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x14c, 0x7502a4 SUB X0, X0, #0x18 ; +0x150, 0x7502a8 CMP X0, X1 ; +0x154, 0x7502ac B.NE loc_750538 ; +0x158, 0x7502b0 ADRP X1, #aCheckpoint0100@PAGE; "checkpoint_01_001.png" ; +0x15c, 0x7502b4 MOV X0, X19; int ; +0x160, 0x7502b8 ADD X1, X1, #aCheckpoint0100@PAGEOFF; "checkpoint_01_001.png" ; +0x164, 0x7502bc MOV X2, X23 ; +0x168, 0x7502c0 BL sub_D153B8 ; +0x16c, 0x7502c4 FMOV S0, WZR; float ; +0x170, 0x7502c8 MOV X0, X20; this ; +0x174, 0x7502cc FMOV S1, S0; float ; +0x178, 0x7502d0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x17c, 0x7502d4 MOV X0, X22 ; +0x180, 0x7502d8 MOV X1, X19 ; +0x184, 0x7502dc MOV X2, X20 ; +0x188, 0x7502e0 MOV W3, #0xFFFFFFFF ; +0x18c, 0x7502e4 BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x190, 0x7502e8 MOV X24, X0 ; +0x194, 0x7502ec LDR X0, [X29,#0x70+var_10] ; +0x198, 0x7502f0 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x19c, 0x7502f4 SUB X0, X0, #0x18 ; +0x1a0, 0x7502f8 CMP X0, X1 ; +0x1a4, 0x7502fc B.NE loc_750544 ; +0x1a8, 0x750300 LDR X2, [X24] ; +0x1ac, 0x750304 MOV X0, X24 ; +0x1b0, 0x750308 MOV W1, #0x468 ; +0x1b4, 0x75030c LDR X2, [X2,#0x48] ; +0x1b8, 0x750310 BLR X2 ; +0x1bc, 0x750314 LDR X2, [X24] ; +0x1c0, 0x750318 MOV W1, #0 ; +0x1c4, 0x75031c MOV X0, X24 ; +0x1c8, 0x750320 LDR X2, [X2,#0x148] ; +0x1cc, 0x750324 BLR X2 ; +0x1d0, 0x750328 MOV X0, X19; int ; +0x1d4, 0x75032c ADD X1, X26, #aCheckpointD010@PAGEOFF; "checkpoint_d_01_001.png" ; +0x1d8, 0x750330 MOV X2, X23 ; +0x1dc, 0x750334 BL sub_D153B8 ; +0x1e0, 0x750338 MOV X0, X22; this ; +0x1e4, 0x75033c MOV X1, X19 ; +0x1e8, 0x750340 BL _ZN10GameObject19addCustomColorChildESs; GameObject::addCustomColorChild(std::string) ; +0x1ec, 0x750344 MOV W1, #1 ; +0x1f0, 0x750348 STRB W1, [X0,#0x22F] ; +0x1f4, 0x75034c LDR X0, [X29,#0x70+var_10] ; +0x1f8, 0x750350 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x1fc, 0x750354 SUB X0, X0, #0x18 ; +0x200, 0x750358 CMP X0, X1 ; +0x204, 0x75035c B.NE loc_750550 ; +0x208, 0x750360 ADRP X1, #aCheckpointD01C@PAGE; "checkpoint_d_01_color_001.png" ; +0x20c, 0x750364 MOV X0, X20; int ; +0x210, 0x750368 ADD X1, X1, #aCheckpointD01C@PAGEOFF; "checkpoint_d_01_color_001.png" ; +0x214, 0x75036c MOV X2, X23 ; +0x218, 0x750370 ADRP X24, #qword_1242450@PAGE ; +0x21c, 0x750374 BL sub_D153B8 ; +0x220, 0x750378 ADD X1, X24, #qword_1242450@PAGEOFF ; +0x224, 0x75037c MOV X0, X19; this ; +0x228, 0x750380 ADD X1, X1, #8; cocos2d::CCPoint * ; +0x22c, 0x750384 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x230, 0x750388 MOV X0, X22 ; +0x234, 0x75038c MOV X1, X20 ; +0x238, 0x750390 MOV X2, X19 ; +0x23c, 0x750394 MOV W3, #0xFFFFFFFF ; +0x240, 0x750398 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x244, 0x75039c LDR X2, [X0] ; +0x248, 0x7503a0 MOV W1, #0x465 ; +0x24c, 0x7503a4 LDR X2, [X2,#0x48] ; +0x250, 0x7503a8 BLR X2 ; +0x254, 0x7503ac LDR X0, [X29,#0x70+var_18] ; +0x258, 0x7503b0 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x25c, 0x7503b4 SUB X0, X0, #0x18 ; +0x260, 0x7503b8 CMP X0, X1 ; +0x264, 0x7503bc B.NE loc_75055C ; +0x268, 0x7503c0 ADRP X1, #aCheckpointD02C@PAGE; "checkpoint_d_02_color_001.png" ; +0x26c, 0x7503c4 MOV X0, X20; int ; +0x270, 0x7503c8 ADD X1, X1, #aCheckpointD02C@PAGEOFF; "checkpoint_d_02_color_001.png" ; +0x274, 0x7503cc MOV X2, X23 ; +0x278, 0x7503d0 BL sub_D153B8 ; +0x27c, 0x7503d4 ADD X1, X24, #qword_1242450@PAGEOFF ; +0x280, 0x7503d8 MOV X0, X19; this ; +0x284, 0x7503dc ADD X1, X1, #8; cocos2d::CCPoint * ; +0x288, 0x7503e0 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x28c, 0x7503e4 MOV X0, X22 ; +0x290, 0x7503e8 MOV X1, X20 ; +0x294, 0x7503ec MOV X2, X19 ; +0x298, 0x7503f0 MOV W3, #0xFFFFFFFF ; +0x29c, 0x7503f4 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x2a0, 0x7503f8 LDR X2, [X0] ; +0x2a4, 0x7503fc MOV W1, #0x466 ; +0x2a8, 0x750400 LDR X2, [X2,#0x48] ; +0x2ac, 0x750404 BLR X2 ; +0x2b0, 0x750408 LDR X0, [X29,#0x70+var_18] ; +0x2b4, 0x75040c LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x2b8, 0x750410 SUB X0, X0, #0x18 ; +0x2bc, 0x750414 CMP X0, X1 ; +0x2c0, 0x750418 B.NE loc_750568 ; +0x2c4, 0x75041c ADRP X1, #aCheckpointD03C@PAGE; "checkpoint_d_03_color_001.png" ; +0x2c8, 0x750420 MOV X0, X20; int ; +0x2cc, 0x750424 ADD X1, X1, #aCheckpointD03C@PAGEOFF; "checkpoint_d_03_color_001.png" ; +0x2d0, 0x750428 MOV X2, X23 ; +0x2d4, 0x75042c BL sub_D153B8 ; +0x2d8, 0x750430 ADD X1, X24, #qword_1242450@PAGEOFF ; +0x2dc, 0x750434 MOV X0, X19; this ; +0x2e0, 0x750438 ADD X1, X1, #8; cocos2d::CCPoint * ; +0x2e4, 0x75043c BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2e8, 0x750440 MOV X0, X22 ; +0x2ec, 0x750444 MOV X1, X20 ; +0x2f0, 0x750448 MOV X2, X19 ; +0x2f4, 0x75044c MOV W3, #0xFFFFFFFF ; +0x2f8, 0x750450 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x2fc, 0x750454 LDR X2, [X0] ; +0x300, 0x750458 MOV W1, #0x467 ; +0x304, 0x75045c LDR X2, [X2,#0x48] ; +0x308, 0x750460 BLR X2 ; +0x30c, 0x750464 LDR X0, [X29,#0x70+var_18] ; +0x310, 0x750468 LDR X1, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x314, 0x75046c SUB X0, X0, #0x18 ; +0x318, 0x750470 CMP X0, X1 ; +0x31c, 0x750474 B.NE loc_750574 ; +0x320, 0x750478 ADRP X1, #aCheckpoint01Co@PAGE; "checkpoint_01_color_001.png" ; +0x324, 0x75047c MOV X0, X20; int ; +0x328, 0x750480 ADD X1, X1, #aCheckpoint01Co@PAGEOFF; "checkpoint_01_color_001.png" ; +0x32c, 0x750484 MOV X2, X23 ; +0x330, 0x750488 BL sub_D153B8 ; +0x334, 0x75048c ADD X1, X24, #qword_1242450@PAGEOFF ; +0x338, 0x750490 MOV X0, X19; this ; +0x33c, 0x750494 ADD X1, X1, #8; cocos2d::CCPoint * ; +0x340, 0x750498 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x344, 0x75049c MOV X0, X22 ; +0x348, 0x7504a0 MOV X1, X20 ; +0x34c, 0x7504a4 MOV X2, X19 ; +0x350, 0x7504a8 MOV W3, #0xFFFFFFFF ; +0x354, 0x7504ac BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x358, 0x7504b0 MOV X20, X0 ; +0x35c, 0x7504b4 LDR X0, [X29,#0x70+var_18] ; +0x360, 0x7504b8 LDR X21, [X21,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x364, 0x7504bc SUB X0, X0, #0x18 ; +0x368, 0x7504c0 CMP X0, X21 ; +0x36c, 0x7504c4 B.NE loc_750580 ; +0x370, 0x7504c8 LDR X2, [X20] ; +0x374, 0x7504cc MOV X0, X20 ; +0x378, 0x7504d0 MOV W1, #0x468 ; +0x37c, 0x7504d4 LDR X2, [X2,#0x48] ; +0x380, 0x7504d8 BLR X2 ; +0x384, 0x7504dc LDR X2, [X20] ; +0x388, 0x7504e0 MOV X0, X20 ; +0x38c, 0x7504e4 MOV W1, #0 ; +0x390, 0x7504e8 LDR X2, [X2,#0x148] ; +0x394, 0x7504ec BLR X2 ; +0x398, 0x7504f0 LDR X25, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x39c, 0x7504f4 LDR X1, [X29,#0x70+var_8] ; +0x3a0, 0x7504f8 LDR X0, [X25] ; +0x3a4, 0x7504fc CMP X1, X0 ; +0x3a8, 0x750500 B.NE loc_75058C ; +0x3ac, 0x750504 LDP X19, X20, [SP,#0x70+var_60] ; +0x3b0, 0x750508 LDP X21, X22, [SP,#0x70+var_50] ; +0x3b4, 0x75050c LDP X23, X24, [SP,#0x70+var_40] ; +0x3b8, 0x750510 LDP X25, X26, [SP,#0x70+var_30] ; +0x3bc, 0x750514 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0x3c0, 0x750518 RET ; +0x3c4, 0x75051c MOV X1, X20 ; +0x3c8, 0x750520 BL sub_74B3A8 ; +0x3cc, 0x750524 B loc_7501FC ; +0x3d0, 0x750528 MOV X1, X20 ; +0x3d4, 0x75052c BL sub_74B3A8 ; +0x3d8, 0x750530 B loc_750258 ; +0x3dc, 0x750534 MOV X1, X20 ; +0x3e0, 0x750538 BL sub_74B3A8 ; +0x3e4, 0x75053c B loc_7502B4 ; +0x3e8, 0x750540 MOV X1, X20 ; +0x3ec, 0x750544 BL sub_74B3A8 ; +0x3f0, 0x750548 B loc_750304 ; +0x3f4, 0x75054c MOV X1, X20 ; +0x3f8, 0x750550 BL sub_74B3A8 ; +0x3fc, 0x750554 B loc_750364 ; +0x400, 0x750558 MOV X1, X19 ; +0x404, 0x75055c BL sub_74B3A8 ; +0x408, 0x750560 B loc_7503C4 ; +0x40c, 0x750564 MOV X1, X19 ; +0x410, 0x750568 BL sub_74B3A8 ; +0x414, 0x75056c B loc_750420 ; +0x418, 0x750570 MOV X1, X19 ; +0x41c, 0x750574 BL sub_74B3A8 ; +0x420, 0x750578 B loc_75047C ; +0x424, 0x75057c MOV X1, X19 ; +0x428, 0x750580 BL sub_74B3A8 ; +0x42c, 0x750584 B loc_7504CC ; +0x430, 0x750588 BL .__stack_chk_fail ; +0x434, 0x75058c MOV X20, X0 ; +0x438, 0x750590 LDR X0, [X29,#0x70+var_18] ; +0x43c, 0x750594 LDR X21, [X21,#0xFE8] ; +0x440, 0x750598 SUB X0, X0, #0x18 ; +0x444, 0x75059c CMP X0, X21 ; +0x448, 0x7505a0 B.EQ loc_7505B0 ; +0x44c, 0x7505a4 MOV X1, X19 ; +0x450, 0x7505a8 BL sub_74B3A8 ; +0x454, 0x7505ac MOV X0, X20 ; +0x458, 0x7505b0 BL _Unwind_Resume ; +0x45c, 0x7505b4 LDR X20, [X29,#0x70+var_18] ; +0x460, 0x7505b8 MOV X22, X0 ; +0x464, 0x7505bc LDR X21, [X21,#0xFE8] ; +0x468, 0x7505c0 SUB X0, X20, #0x18 ; +0x46c, 0x7505c4 CMP X0, X21 ; +0x470, 0x7505c8 B.EQ loc_7505D8 ; +0x474, 0x7505cc MOV X1, X19 ; +0x478, 0x7505d0 BL sub_74B3A8 ; +0x47c, 0x7505d4 MOV X0, X22 ; +0x480, 0x7505d8 BL _Unwind_Resume ; +0x484, 0x7505dc LDR X19, [X29,#0x70+var_10] ; +0x488, 0x7505e0 MOV X22, X0 ; +0x48c, 0x7505e4 LDR X21, [X21,#0xFE8] ; +0x490, 0x7505e8 SUB X0, X19, #0x18 ; +0x494, 0x7505ec CMP X0, X21 ; +0x498, 0x7505f0 B.EQ loc_7505D8 ; +0x49c, 0x7505f4 MOV X1, X20 ; +0x4a0, 0x7505f8 BL sub_74B3A8 ; +0x4a4, 0x7505fc B loc_7505D8 ; +0x4a8, 0x750600 B loc_7505E0 ; +0x4ac, 0x750604 B loc_7505E0 ; +0x4b0, 0x750608 B loc_7505E0 ; +0x4b4, 0x75060c B loc_7505B8 ; +0x4b8, 0x750610 B loc_7505B8 ; +0x4bc, 0x750614 ADRP X1, #off_122EFE8@PAGE ; +0x4c0, 0x750618 MOV X19, X0 ; +0x4c4, 0x75061c LDR X0, [X29,#0x70+var_10] ; +0x4c8, 0x750620 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x4cc, 0x750624 SUB X0, X0, #0x18 ; +0x4d0, 0x750628 CMP X0, X1 ; +0x4d4, 0x75062c B.EQ loc_75063C ; +0x4d8, 0x750630 MOV X1, X20 ; +0x4dc, 0x750634 BL sub_74B3A8 ; +0x4e0, 0x750638 MOV X0, X19 ; +0x4e4, 0x75063c BL _Unwind_Resume ; +0x4e8, 0x750640