; ; CheckpointGameObject::setupCustomSprites from 0x3e4788 to 0x3e49ce (582 bytes) ; ; 0 xrefs: ; ; 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 ; PUSH.W {R4-R9,LR} ; +0x0, 0x3e4788 SUB SP, SP, #0x1C ; +0x4, 0x3e478c LDR.W R9, =(__stack_chk_guard_ptr - 0x3E479C) ; +0x6, 0x3e478e ADD R4, SP, #0x1C+var_14 ; +0xa, 0x3e4792 ADD R7, SP, #4 ; +0xc, 0x3e4794 LDR R1, =(aCheckpointD010 - 0x3E47A4); "checkpoint_d_01_001.png" ; +0xe, 0x3e4796 ADD R9, PC; __stack_chk_guard_ptr ; +0x10, 0x3e4798 LDR.W R9, [R9]; __stack_chk_guard ; +0x12, 0x3e479a MOV R6, R0 ; +0x16, 0x3e479e ADD R1, PC; "checkpoint_d_01_001.png" ; +0x18, 0x3e47a0 MOV R2, R7 ; +0x1a, 0x3e47a2 LDR.W R3, [R9] ; +0x1c, 0x3e47a4 ADD R5, SP, #0x1C+var_10 ; +0x20, 0x3e47a8 STR R3, [SP,#0x1C+var_8] ; +0x22, 0x3e47aa MOVS R3, #0 ; +0x24, 0x3e47ac STRB.W R3, [R0,#0x38D] ; +0x26, 0x3e47ae MOVS R3, #1 ; +0x2a, 0x3e47b2 STRB.W R3, [R0,#0x1D7] ; +0x2c, 0x3e47b4 MOV R0, R4; int ; +0x30, 0x3e47b8 BL sub_776584 ; +0x32, 0x3e47ba MOVS R1, #0; float ; +0x36, 0x3e47be MOV R0, R5; this ; +0x38, 0x3e47c0 MOV R2, R1; float ; +0x3a, 0x3e47c2 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3c, 0x3e47c4 MOV R0, R6; cocos2d::CCPoint * ; +0x40, 0x3e47c8 MOV R1, R4 ; +0x42, 0x3e47ca MOV R2, R5 ; +0x44, 0x3e47cc MOV.W R3, #0xFFFFFFFF ; +0x46, 0x3e47ce BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x4a, 0x3e47d2 LDR R3, [R0] ; +0x4e, 0x3e47d6 MOVW R1, #0x465 ; +0x50, 0x3e47d8 LDR R3, [R3,#0x24] ; +0x54, 0x3e47dc BLX R3 ; +0x56, 0x3e47de MOV R0, R4 ; +0x58, 0x3e47e0 BL sub_774008 ; +0x5a, 0x3e47e2 LDR R1, =(aCheckpointD020 - 0x3E47F0); "checkpoint_d_02_001.png" ; +0x5e, 0x3e47e6 MOV R2, R7 ; +0x60, 0x3e47e8 MOV R0, R4; int ; +0x62, 0x3e47ea ADD R1, PC; "checkpoint_d_02_001.png" ; +0x64, 0x3e47ec BL sub_776584 ; +0x66, 0x3e47ee MOVS R1, #0; float ; +0x6a, 0x3e47f2 MOV R0, R5; this ; +0x6c, 0x3e47f4 MOV R2, R1; float ; +0x6e, 0x3e47f6 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x70, 0x3e47f8 MOV R0, R6; cocos2d::CCPoint * ; +0x74, 0x3e47fc MOV R1, R4 ; +0x76, 0x3e47fe MOV R2, R5 ; +0x78, 0x3e4800 MOV.W R3, #0xFFFFFFFF ; +0x7a, 0x3e4802 BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0x7e, 0x3e4806 LDR R3, [R0] ; +0x82, 0x3e480a MOVW R1, #0x466 ; +0x84, 0x3e480c LDR R3, [R3,#0x24] ; +0x88, 0x3e4810 BLX R3 ; +0x8a, 0x3e4812 MOV R0, R4 ; +0x8c, 0x3e4814 BL sub_774008 ; +0x8e, 0x3e4816 LDR R1, =(aCheckpointD030 - 0x3E4824); "checkpoint_d_03_001.png" ; +0x92, 0x3e481a MOV R2, R7 ; +0x94, 0x3e481c MOV R0, R4; int ; +0x96, 0x3e481e ADD R1, PC; "checkpoint_d_03_001.png" ; +0x98, 0x3e4820 BL sub_776584 ; +0x9a, 0x3e4822 MOVS R1, #0; float ; +0x9e, 0x3e4826 MOV R0, R5; this ; +0xa0, 0x3e4828 MOV R2, R1; float ; +0xa2, 0x3e482a BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa4, 0x3e482c MOV R0, R6; cocos2d::CCPoint * ; +0xa8, 0x3e4830 MOV R1, R4 ; +0xaa, 0x3e4832 MOV R2, R5 ; +0xac, 0x3e4834 MOV.W R3, #0xFFFFFFFF ; +0xae, 0x3e4836 BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0xb2, 0x3e483a LDR R3, [R0] ; +0xb6, 0x3e483e MOVW R1, #0x467 ; +0xb8, 0x3e4840 LDR R3, [R3,#0x24] ; +0xbc, 0x3e4844 BLX R3 ; +0xbe, 0x3e4846 MOV R0, R4 ; +0xc0, 0x3e4848 BL sub_774008 ; +0xc2, 0x3e484a LDR R1, =(aCheckpoint0100 - 0x3E4858); "checkpoint_01_001.png" ; +0xc6, 0x3e484e MOV R2, R7 ; +0xc8, 0x3e4850 MOV R0, R4; int ; +0xca, 0x3e4852 ADD R1, PC; "checkpoint_01_001.png" ; +0xcc, 0x3e4854 BL sub_776584 ; +0xce, 0x3e4856 MOVS R1, #0; float ; +0xd2, 0x3e485a MOV R0, R5; this ; +0xd4, 0x3e485c MOV R2, R1; float ; +0xd6, 0x3e485e BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xd8, 0x3e4860 MOV R0, R6; cocos2d::CCPoint * ; +0xdc, 0x3e4864 MOV R1, R4 ; +0xde, 0x3e4866 MOV R2, R5 ; +0xe0, 0x3e4868 MOV.W R3, #0xFFFFFFFF ; +0xe2, 0x3e486a BL _ZN10GameObject14addCustomChildESsN7cocos2d7CCPointEi; GameObject::addCustomChild(std::string,cocos2d::CCPoint,int) ; +0xe6, 0x3e486e MOV R8, R0 ; +0xea, 0x3e4872 MOV R0, R4 ; +0xec, 0x3e4874 BL sub_774008 ; +0xee, 0x3e4876 LDR.W R3, [R8] ; +0xf2, 0x3e487a MOV R0, R8 ; +0xf6, 0x3e487e MOV.W R1, #0x468 ; +0xf8, 0x3e4880 LDR R3, [R3,#0x24] ; +0xfc, 0x3e4884 BLX R3 ; +0xfe, 0x3e4886 LDR.W R3, [R8] ; +0x100, 0x3e4888 MOV R0, R8 ; +0x104, 0x3e488c MOVS R1, #0 ; +0x106, 0x3e488e LDR.W R3, [R3,#0xA4] ; +0x108, 0x3e4890 BLX R3 ; +0x10c, 0x3e4894 LDR R1, =(aCheckpointD010 - 0x3E48A0); "checkpoint_d_01_001.png" ; +0x10e, 0x3e4896 MOV R0, R5; int ; +0x110, 0x3e4898 MOV R2, R4 ; +0x112, 0x3e489a ADD R1, PC; "checkpoint_d_01_001.png" ; +0x114, 0x3e489c BL sub_776584 ; +0x116, 0x3e489e MOV R0, R6; this ; +0x11a, 0x3e48a2 MOV R1, R5 ; +0x11c, 0x3e48a4 BL _ZN10GameObject19addCustomColorChildESs; GameObject::addCustomColorChild(std::string) ; +0x11e, 0x3e48a6 MOVS R3, #1 ; +0x122, 0x3e48aa STRB.W R3, [R0,#0x1D7] ; +0x124, 0x3e48ac MOV R0, R5 ; +0x128, 0x3e48b0 BL sub_774008 ; +0x12a, 0x3e48b2 LDR R1, =(aCheckpointD01C - 0x3E48C0); "checkpoint_d_01_color_001.png" ; +0x12e, 0x3e48b6 MOV R0, R4; int ; +0x130, 0x3e48b8 MOV R2, R7 ; +0x132, 0x3e48ba ADD R1, PC; "checkpoint_d_01_color_001.png" ; +0x134, 0x3e48bc BL sub_776584 ; +0x136, 0x3e48be LDR R1, =(qword_AC6030 - 0x3E48CA) ; +0x13a, 0x3e48c2 MOV R0, R5; this ; +0x13c, 0x3e48c4 ADD R1, PC; qword_AC6030 ; +0x13e, 0x3e48c6 ADDS R1, #(stru_AC6038 - 0xAC6030); cocos2d::CCPoint * ; +0x140, 0x3e48c8 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x142, 0x3e48ca MOV R0, R6 ; +0x146, 0x3e48ce MOV R1, R4 ; +0x148, 0x3e48d0 MOV R2, R5 ; +0x14a, 0x3e48d2 MOV.W R3, #0xFFFFFFFF ; +0x14c, 0x3e48d4 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x150, 0x3e48d8 LDR R3, [R0] ; +0x154, 0x3e48dc MOVW R1, #0x465 ; +0x156, 0x3e48de LDR R3, [R3,#0x24] ; +0x15a, 0x3e48e2 BLX R3 ; +0x15c, 0x3e48e4 MOV R0, R4 ; +0x15e, 0x3e48e6 BL sub_774008 ; +0x160, 0x3e48e8 LDR R1, =(aCheckpointD02C - 0x3E48F6); "checkpoint_d_02_color_001.png" ; +0x164, 0x3e48ec MOV R0, R4; int ; +0x166, 0x3e48ee MOV R2, R7 ; +0x168, 0x3e48f0 ADD R1, PC; "checkpoint_d_02_color_001.png" ; +0x16a, 0x3e48f2 BL sub_776584 ; +0x16c, 0x3e48f4 LDR R1, =(qword_AC6030 - 0x3E4900) ; +0x170, 0x3e48f8 MOV R0, R5; this ; +0x172, 0x3e48fa ADD R1, PC; qword_AC6030 ; +0x174, 0x3e48fc ADDS R1, #(stru_AC6038 - 0xAC6030); cocos2d::CCPoint * ; +0x176, 0x3e48fe BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x178, 0x3e4900 MOV R0, R6 ; +0x17c, 0x3e4904 MOV R1, R4 ; +0x17e, 0x3e4906 MOV R2, R5 ; +0x180, 0x3e4908 MOV.W R3, #0xFFFFFFFF ; +0x182, 0x3e490a BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x186, 0x3e490e LDR R3, [R0] ; +0x18a, 0x3e4912 MOVW R1, #0x466 ; +0x18c, 0x3e4914 LDR R3, [R3,#0x24] ; +0x190, 0x3e4918 BLX R3 ; +0x192, 0x3e491a MOV R0, R4 ; +0x194, 0x3e491c BL sub_774008 ; +0x196, 0x3e491e LDR R1, =(aCheckpointD03C - 0x3E492C); "checkpoint_d_03_color_001.png" ; +0x19a, 0x3e4922 MOV R0, R4; int ; +0x19c, 0x3e4924 MOV R2, R7 ; +0x19e, 0x3e4926 ADD R1, PC; "checkpoint_d_03_color_001.png" ; +0x1a0, 0x3e4928 BL sub_776584 ; +0x1a2, 0x3e492a LDR R1, =(qword_AC6030 - 0x3E4936) ; +0x1a6, 0x3e492e MOV R0, R5; this ; +0x1a8, 0x3e4930 ADD R1, PC; qword_AC6030 ; +0x1aa, 0x3e4932 ADDS R1, #(stru_AC6038 - 0xAC6030); cocos2d::CCPoint * ; +0x1ac, 0x3e4934 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1ae, 0x3e4936 MOV R0, R6 ; +0x1b2, 0x3e493a MOV R1, R4 ; +0x1b4, 0x3e493c MOV R2, R5 ; +0x1b6, 0x3e493e MOV.W R3, #0xFFFFFFFF ; +0x1b8, 0x3e4940 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x1bc, 0x3e4944 LDR R3, [R0] ; +0x1c0, 0x3e4948 MOVW R1, #0x467 ; +0x1c2, 0x3e494a LDR R3, [R3,#0x24] ; +0x1c6, 0x3e494e BLX R3 ; +0x1c8, 0x3e4950 MOV R0, R4 ; +0x1ca, 0x3e4952 BL sub_774008 ; +0x1cc, 0x3e4954 LDR R1, =(aCheckpoint01Co - 0x3E4962); "checkpoint_01_color_001.png" ; +0x1d0, 0x3e4958 MOV R0, R4; int ; +0x1d2, 0x3e495a MOV R2, R7 ; +0x1d4, 0x3e495c ADD R1, PC; "checkpoint_01_color_001.png" ; +0x1d6, 0x3e495e BL sub_776584 ; +0x1d8, 0x3e4960 LDR R1, =(qword_AC6030 - 0x3E496C) ; +0x1dc, 0x3e4964 MOV R0, R5; this ; +0x1de, 0x3e4966 ADD R1, PC; qword_AC6030 ; +0x1e0, 0x3e4968 ADDS R1, #(stru_AC6038 - 0xAC6030); cocos2d::CCPoint * ; +0x1e2, 0x3e496a BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1e4, 0x3e496c MOV R0, R6 ; +0x1e8, 0x3e4970 MOV R1, R4 ; +0x1ea, 0x3e4972 MOV R2, R5 ; +0x1ec, 0x3e4974 MOV.W R3, #0xFFFFFFFF ; +0x1ee, 0x3e4976 BL _ZN10GameObject27addInternalCustomColorChildESsN7cocos2d7CCPointEi; GameObject::addInternalCustomColorChild(std::string,cocos2d::CCPoint,int) ; +0x1f2, 0x3e497a MOV R5, R0 ; +0x1f6, 0x3e497e MOV R0, R4 ; +0x1f8, 0x3e4980 BL sub_774008 ; +0x1fa, 0x3e4982 LDR R3, [R5] ; +0x1fe, 0x3e4986 MOV R0, R5 ; +0x200, 0x3e4988 MOV.W R1, #0x468 ; +0x202, 0x3e498a LDR R3, [R3,#0x24] ; +0x206, 0x3e498e BLX R3 ; +0x208, 0x3e4990 LDR R3, [R5] ; +0x20a, 0x3e4992 MOV R0, R5 ; +0x20c, 0x3e4994 MOVS R1, #0 ; +0x20e, 0x3e4996 LDR.W R3, [R3,#0xA4] ; +0x210, 0x3e4998 BLX R3 ; +0x214, 0x3e499c LDR R2, [SP,#0x1C+var_8] ; +0x216, 0x3e499e LDR.W R3, [R9] ; +0x218, 0x3e49a0 CMP R2, R3 ; +0x21c, 0x3e49a4 BEQ loc_3E49C8 ; +0x21e, 0x3e49a6 BLX __stack_chk_fail ; +0x220, 0x3e49a8 B loc_3E49AE ; +0x224, 0x3e49ac MOV R0, R4 ; +0x226, 0x3e49ae BL sub_774008 ; +0x228, 0x3e49b0 BL __cxa_end_cleanup ; +0x22c, 0x3e49b4 B loc_3E49AE ; +0x230, 0x3e49b8 B loc_3E49AE ; +0x232, 0x3e49ba MOV R0, R5 ; +0x234, 0x3e49bc B loc_3E49B0 ; +0x236, 0x3e49be B loc_3E49AE ; +0x238, 0x3e49c0 B loc_3E49AE ; +0x23a, 0x3e49c2 B loc_3E49AE ; +0x23c, 0x3e49c4 B loc_3E49AE ; +0x23e, 0x3e49c6 ADD SP, SP, #0x1C ; +0x240, 0x3e49c8 POP.W {R4-R9,PC} ; +0x242, 0x3e49ca