; ; CustomizeObjectSettingsPopup::init from 0x463db8 to 0x463fc8 (528 bytes) ; ; 1 xrefs: ; > CustomizeObjectSettingsPopup::create @ 0x46417a ; ; 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-R11,LR} ; +0x0, 0x463db8 MOV R5, R3 ; +0x4, 0x463dbc LDR R4, =(__stack_chk_guard_ptr - 0x463DC8) ; +0x6, 0x463dbe SUB SP, SP, #0x54 ; +0x8, 0x463dc0 MOV R7, R0 ; +0xa, 0x463dc2 ADD R4, PC; __stack_chk_guard_ptr ; +0xc, 0x463dc4 LDR R4, [R4]; __stack_chk_guard ; +0xe, 0x463dc6 LDR R3, [R4] ; +0x10, 0x463dc8 STR R3, [SP,#0x54+var_8] ; +0x12, 0x463dca LDR R3, flt_463FC8 ; +0x14, 0x463dcc STR R3, [SP,#0x54+var_54]; float ; +0x16, 0x463dce MOVS R3, #1 ; +0x18, 0x463dd0 STR R3, [SP,#0x54+var_50]; int ; +0x1a, 0x463dd2 LDR R3, flt_463FCC; float ; +0x1c, 0x463dd4 BL _ZN17SetupTriggerPopup4initEP16EffectGameObjectPN7cocos2d7CCArrayEffi; SetupTriggerPopup::init(EffectGameObject *,cocos2d::CCArray *,float,float,int) ; +0x1e, 0x463dd6 STR R4, [SP,#0x54+var_38] ; +0x22, 0x463dda MOV R11, R0 ; +0x24, 0x463ddc CMP R0, #0 ; +0x26, 0x463dde BEQ.W loc_463F92 ; +0x28, 0x463de0 MOV R0, R7; this ; +0x2c, 0x463de4 STR.W R5, [R7,#0x2A8] ; +0x2e, 0x463de6 BL _ZN17SetupTriggerPopup8preSetupEv; SetupTriggerPopup::preSetup(void) ; +0x32, 0x463dea ADD R4, SP, #0x54+var_10 ; +0x36, 0x463dee ADD R6, SP, #0x54+var_18 ; +0x38, 0x463df0 LDR R1, =(aSettings - 0x463DFA); "Settings" ; +0x3a, 0x463df2 MOV R0, R4; int ; +0x3c, 0x463df4 ADD R1, PC; "Settings" ; +0x3e, 0x463df6 MOV R2, R6 ; +0x40, 0x463df8 BL sub_776584 ; +0x42, 0x463dfa MOV R0, R7 ; +0x46, 0x463dfe MOV R1, R4 ; +0x48, 0x463e00 BL _ZN17SetupTriggerPopup8addTitleESs; SetupTriggerPopup::addTitle(std::string) ; +0x4a, 0x463e02 MOV R0, R4 ; +0x4e, 0x463e06 BL sub_774008 ; +0x50, 0x463e08 LDR R1, =(aOk - 0x463E16); "OK" ; +0x54, 0x463e0c MOV R0, R4; int ; +0x56, 0x463e0e MOV R2, R6 ; +0x58, 0x463e10 ADD R1, PC; "OK" ; +0x5a, 0x463e12 BL sub_776584 ; +0x5c, 0x463e14 MOV R0, R7 ; +0x60, 0x463e18 MOV R1, R4 ; +0x62, 0x463e1a BL _ZN17SetupTriggerPopup14addCloseButtonESs; SetupTriggerPopup::addCloseButton(std::string) ; +0x64, 0x463e1c MOV R0, R4 ; +0x68, 0x463e20 ADD R5, SP, #0x54+var_28 ; +0x6a, 0x463e22 BL sub_774008 ; +0x6c, 0x463e24 LDR R1, =(aHelp - 0x463E32); "Help" ; +0x70, 0x463e28 MOV R2, R5 ; +0x72, 0x463e2a MOV R0, R6; int ; +0x74, 0x463e2c ADD R1, PC; "Help" ; +0x76, 0x463e2e ADD.W R8, SP, #0x54+var_20 ; +0x78, 0x463e30 BL sub_776584 ; +0x7c, 0x463e34 LDR R1, =(aChangeIfASingl - 0x463E42); "Change if a single color object is trea"... ; +0x80, 0x463e38 MOV R0, R4; int ; +0x82, 0x463e3a MOV R2, R8 ; +0x84, 0x463e3c ADD R1, PC; "Change if a single color object is trea"... ; +0x86, 0x463e3e BL sub_776584 ; +0x88, 0x463e40 MOV R0, R7 ; +0x8c, 0x463e44 MOV R1, R6 ; +0x8e, 0x463e46 MOV R2, R4 ; +0x90, 0x463e48 MOV.W R3, #0x3F800000 ; +0x92, 0x463e4a BL _ZN17SetupTriggerPopup13addHelpButtonESsSsf; SetupTriggerPopup::addHelpButton(std::string,std::string,float) ; +0x96, 0x463e4e MOV R0, R4 ; +0x9a, 0x463e52 ADD.W R9, SP, #0x54+var_30 ; +0x9c, 0x463e54 BL sub_774008 ; +0xa0, 0x463e58 MOV R0, R6 ; +0xa4, 0x463e5c BL sub_774008 ; +0xa6, 0x463e5e BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xaa, 0x463e62 MOV R1, R0 ; +0xae, 0x463e66 MOV R0, R5; this ; +0xb0, 0x463e68 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0xb2, 0x463e6a VMOV.F32 S15, #0.5 ; +0xb6, 0x463e6e VLDR S14, [SP,#0x54+var_28] ; +0xba, 0x463e72 MOV R0, R8; this ; +0xbe, 0x463e76 ADD R5, SP, #0x54+var_2C ; +0xc0, 0x463e78 VLDR S13, [SP,#0x54+var_24] ; +0xc2, 0x463e7a VMUL.F32 S14, S14, S15 ; +0xc6, 0x463e7e VMOV R1, S14; float ; +0xca, 0x463e82 VMOV.F32 S14, #10.0 ; +0xce, 0x463e86 VMLA.F32 S14, S13, S15 ; +0xd2, 0x463e8a VMOV R2, S14; float ; +0xd6, 0x463e8e BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xda, 0x463e92 LDR R3, [R7] ; +0xde, 0x463e96 MOVW R1, #0x1F1 ; +0xe0, 0x463e98 MOV R0, R7 ; +0xe4, 0x463e9c LDR.W R3, [R3,#0x2CC] ; +0xe6, 0x463e9e BLX R3 ; +0xea, 0x463ea2 LDR R1, =(aDefault - 0x463EAC); "Default" ; +0xec, 0x463ea4 MOV R2, R9 ; +0xee, 0x463ea6 ADD R1, PC; "Default" ; +0xf0, 0x463ea8 VMOV S15, R0 ; +0xf2, 0x463eaa MOV R0, R5; int ; +0xf6, 0x463eae VCVT.S32.F32 S15, S15 ; +0xf8, 0x463eb0 VMOV R3, S15 ; +0xfc, 0x463eb4 VSTR S15, [SP,#0x54+var_3C] ; +0x100, 0x463eb8 CLZ.W R10, R3 ; +0x104, 0x463ebc BL sub_776584 ; +0x108, 0x463ec0 MOV R0, R6; this ; +0x10c, 0x463ec4 LDR R1, flt_463FD0; float ; +0x10e, 0x463ec6 MOVS R2, #0; float ; +0x110, 0x463ec8 MOV.W R10, R10,LSR#5 ; +0x112, 0x463eca BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x116, 0x463ece MOV R0, R4 ; +0x11a, 0x463ed2 MOV R1, R8 ; +0x11c, 0x463ed4 MOV R2, R6 ; +0x11e, 0x463ed6 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x120, 0x463ed8 MOVS R1, #0 ; +0x124, 0x463edc MOVS R3, #1 ; +0x126, 0x463ede STR R5, [SP,#0x54+var_54] ; +0x128, 0x463ee0 MOV R0, R7 ; +0x12a, 0x463ee2 STR R4, [SP,#0x54+var_50] ; +0x12c, 0x463ee4 MOV R2, R10 ; +0x12e, 0x463ee6 STR R3, [SP,#0x54+var_4C] ; +0x130, 0x463ee8 STR R1, [SP,#0x54+var_48] ; +0x132, 0x463eea STR R1, [SP,#0x54+var_44] ; +0x134, 0x463eec BL _ZN17SetupTriggerPopup30createCustomToggleValueControlEibbSsN7cocos2d7CCPointEbii; SetupTriggerPopup::createCustomToggleValueControl(int,bool,bool,std::string,cocos2d::CCPoint,bool,int,int) ; +0x136, 0x463eee MOV R0, R5 ; +0x13a, 0x463ef2 BL sub_774008 ; +0x13c, 0x463ef4 LDR R3, [SP,#0x54+var_3C] ; +0x140, 0x463ef8 LDR R1, =(aBase - 0x463F08); "Base" ; +0x142, 0x463efa MOV R0, R5; int ; +0x144, 0x463efc SUBS R2, R3, #1 ; +0x146, 0x463efe RSBS.W R10, R2, #0 ; +0x148, 0x463f00 ADD R1, PC; "Base" ; +0x14c, 0x463f04 ADC.W R10, R10, R2 ; +0x14e, 0x463f06 MOV R2, R9 ; +0x152, 0x463f0a BL sub_776584 ; +0x154, 0x463f0c MOVS R1, #0; float ; +0x158, 0x463f10 MOV R0, R6; this ; +0x15a, 0x463f12 MOV R2, R1; float ; +0x15c, 0x463f14 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x15e, 0x463f16 MOV R0, R4 ; +0x162, 0x463f1a MOV R1, R8 ; +0x164, 0x463f1c MOV R2, R6 ; +0x166, 0x463f1e BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x168, 0x463f20 MOVS R1, #1 ; +0x16c, 0x463f24 MOVS R3, #0 ; +0x16e, 0x463f26 STR R5, [SP,#0x54+var_54] ; +0x170, 0x463f28 MOV R0, R7 ; +0x172, 0x463f2a STR R3, [SP,#0x54+var_48] ; +0x174, 0x463f2c MOV R2, R10 ; +0x176, 0x463f2e STR R3, [SP,#0x54+var_44] ; +0x178, 0x463f30 MOV R3, R1 ; +0x17a, 0x463f32 STR R4, [SP,#0x54+var_50] ; +0x17c, 0x463f34 STR R1, [SP,#0x54+var_4C] ; +0x17e, 0x463f36 BL _ZN17SetupTriggerPopup30createCustomToggleValueControlEibbSsN7cocos2d7CCPointEbii; SetupTriggerPopup::createCustomToggleValueControl(int,bool,bool,std::string,cocos2d::CCPoint,bool,int,int) ; +0x180, 0x463f38 MOV R0, R5 ; +0x184, 0x463f3c BL sub_774008 ; +0x186, 0x463f3e LDR R3, [SP,#0x54+var_3C] ; +0x18a, 0x463f42 LDR R1, =(aDetail - 0x463F54); "Detail" ; +0x18c, 0x463f44 MOV R2, R9 ; +0x18e, 0x463f46 SUBS R3, #2 ; +0x190, 0x463f48 MOV R0, R5; int ; +0x192, 0x463f4a RSBS.W R10, R3, #0 ; +0x194, 0x463f4c ADD R1, PC; "Detail" ; +0x198, 0x463f50 ADC.W R10, R10, R3 ; +0x19a, 0x463f52 BL sub_776584 ; +0x19e, 0x463f56 MOV R0, R6; this ; +0x1a2, 0x463f5a LDR R1, flt_463FD4; float ; +0x1a4, 0x463f5c MOVS R2, #0; float ; +0x1a6, 0x463f5e BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1a8, 0x463f60 MOV R0, R4 ; +0x1ac, 0x463f64 MOV R1, R8 ; +0x1ae, 0x463f66 MOV R2, R6 ; +0x1b0, 0x463f68 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x1b2, 0x463f6a MOVS R2, #0 ; +0x1b6, 0x463f6e MOVS R3, #1 ; +0x1b8, 0x463f70 STR R2, [SP,#0x54+var_48] ; +0x1ba, 0x463f72 MOV R0, R7 ; +0x1bc, 0x463f74 STR R2, [SP,#0x54+var_44] ; +0x1be, 0x463f76 MOVS R1, #2 ; +0x1c0, 0x463f78 STR R5, [SP,#0x54+var_54] ; +0x1c2, 0x463f7a MOV R2, R10 ; +0x1c4, 0x463f7c STR R4, [SP,#0x54+var_50] ; +0x1c6, 0x463f7e STR R3, [SP,#0x54+var_4C] ; +0x1c8, 0x463f80 BL _ZN17SetupTriggerPopup30createCustomToggleValueControlEibbSsN7cocos2d7CCPointEbii; SetupTriggerPopup::createCustomToggleValueControl(int,bool,bool,std::string,cocos2d::CCPoint,bool,int,int) ; +0x1ca, 0x463f82 MOV R0, R5 ; +0x1ce, 0x463f86 BL sub_774008 ; +0x1d0, 0x463f88 MOV R0, R7; this ; +0x1d4, 0x463f8c BL _ZN17SetupTriggerPopup9postSetupEv; SetupTriggerPopup::postSetup(void) ; +0x1d6, 0x463f8e LDR R3, [SP,#0x54+var_38] ; +0x1da, 0x463f92 MOV R0, R11 ; +0x1dc, 0x463f94 LDR R2, [SP,#0x54+var_8] ; +0x1de, 0x463f96 LDR R3, [R3] ; +0x1e0, 0x463f98 CMP R2, R3 ; +0x1e2, 0x463f9a BEQ loc_463FC2 ; +0x1e4, 0x463f9c BLX __stack_chk_fail ; +0x1e6, 0x463f9e B loc_463FA4 ; +0x1ea, 0x463fa2 MOV R0, R4 ; +0x1ec, 0x463fa4 BL sub_774008 ; +0x1ee, 0x463fa6 BL __cxa_end_cleanup ; +0x1f2, 0x463faa MOV R0, R4 ; +0x1f6, 0x463fae BL sub_774008 ; +0x1f8, 0x463fb0 B loc_463FB6 ; +0x1fc, 0x463fb4 MOV R0, R6 ; +0x1fe, 0x463fb6 B loc_463FA6 ; +0x200, 0x463fb8 B loc_463FBE ; +0x202, 0x463fba B loc_463FBE ; +0x204, 0x463fbc MOV R0, R5 ; +0x206, 0x463fbe B loc_463FA6 ; +0x208, 0x463fc0 ADD SP, SP, #0x54 ; 'T' ; +0x20a, 0x463fc2 POP.W {R4-R11,PC} ; +0x20c, 0x463fc4