; ; ControlSlotsPopup::onSave from 0x7a4f78 to 0x7a5038 (192 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:59:56 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x7a4f78 SUB SP, SP, #0x2C ; +0x4, 0x7a4f7c LDR R7, =(__stack_chk_guard_ptr - 0x7A4F88) ; +0x6, 0x7a4f7e MOV R8, R0 ; +0x8, 0x7a4f80 MOV R0, R1 ; +0xa, 0x7a4f82 ADD R7, PC; __stack_chk_guard_ptr ; +0xc, 0x7a4f84 LDR R7, [R7]; __stack_chk_guard ; +0xe, 0x7a4f86 LDR R3, [R7] ; +0x10, 0x7a4f88 STR R3, [SP,#0x2C+var_8] ; +0x12, 0x7a4f8a LDR R3, [R1] ; +0x14, 0x7a4f8c LDR R3, [R3,#0x20] ; +0x16, 0x7a4f8e BLX R3 ; +0x18, 0x7a4f90 MOV R4, R0 ; +0x1a, 0x7a4f92 LDR.W R0, [R8,#0x2C8]; this ; +0x1c, 0x7a4f94 CBZ R0, loc_7A4F9E ; +0x20, 0x7a4f98 BL _ZN21TouchControlEditLayer14commitToTargetEv; TouchControlEditLayer::commitToTarget(void) ; +0x22, 0x7a4f9a BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x26, 0x7a4f9e LDRB.W R2, [R8,#0x2CC]; bool ; +0x2a, 0x7a4fa2 MOV R1, R4; int ; +0x2e, 0x7a4fa6 ADD R5, SP, #0x2C+var_20 ; +0x30, 0x7a4fa8 BL _ZN11GameManager14saveDPadLayoutEib; GameManager::saveDPadLayout(int,bool) ; +0x32, 0x7a4faa LDR.W R3, [R8] ; +0x36, 0x7a4fae LDR R0, =(aSlotISaved - 0x7A4FBC); "Slot %i saved" ; +0x3a, 0x7a4fb2 MOV R1, R4; char * ; +0x3c, 0x7a4fb4 MOVS R4, #0 ; +0x3e, 0x7a4fb6 ADD R0, PC; "Slot %i saved" ; +0x40, 0x7a4fb8 LDR.W R9, [R3,#0xE8] ; +0x42, 0x7a4fba BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x46, 0x7a4fbe BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x4a, 0x7a4fc2 STR R4, [SP,#0x2C+var_20] ; +0x4e, 0x7a4fc6 STR R4, [SP,#0x2C+var_1C] ; +0x50, 0x7a4fc8 STR R4, [SP,#0x2C+var_18] ; +0x52, 0x7a4fca MOV R6, R0 ; +0x54, 0x7a4fcc BLX strlen ; +0x56, 0x7a4fce MOV R1, R6 ; +0x5a, 0x7a4fd2 ADD R6, SP, #0x2C+var_14 ; +0x5c, 0x7a4fd4 MOV R2, R0 ; +0x5e, 0x7a4fd6 MOV R0, R5 ; +0x60, 0x7a4fd8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x62, 0x7a4fda LDR R1, =(unk_B6B226 - 0x7A4FE8) ; +0x66, 0x7a4fde MOV R0, R6 ; +0x68, 0x7a4fe0 MOV R2, R4 ; +0x6a, 0x7a4fe2 ADD R1, PC; unk_B6B226 ; +0x6c, 0x7a4fe4 STR R4, [SP,#0x2C+var_14] ; +0x6e, 0x7a4fe6 STR R4, [SP,#0x2C+var_10] ; +0x70, 0x7a4fe8 STR R4, [SP,#0x2C+var_C] ; +0x72, 0x7a4fea BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x74, 0x7a4fec STR R6, [SP,#0x2C+var_2C] ; +0x78, 0x7a4ff0 MOV R0, R5 ; +0x7a, 0x7a4ff2 MOV.W R1, #0x3F000000 ; +0x7c, 0x7a4ff4 LDR R2, =0x3F19999A ; +0x80, 0x7a4ff8 MOVS R3, #0x96 ; +0x82, 0x7a4ffa BL _ZN14TextAlertPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEffiS6_; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x84, 0x7a4ffc MOV R1, R0 ; +0x88, 0x7a5000 MOVS R2, #0x64 ; 'd' ; +0x8a, 0x7a5002 MOV R0, R8 ; +0x8c, 0x7a5004 BLX R9 ; +0x8e, 0x7a5006 MOV R0, R6 ; +0x90, 0x7a5008 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x92, 0x7a500a MOV R0, R5 ; +0x96, 0x7a500e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x98, 0x7a5010 LDR R2, [SP,#0x2C+var_8] ; +0x9c, 0x7a5014 LDR R3, [R7] ; +0x9e, 0x7a5016 CMP R2, R3 ; +0xa0, 0x7a5018 BEQ loc_7A5032 ; +0xa2, 0x7a501a BLX __stack_chk_fail ; +0xa4, 0x7a501c MOV R0, R6 ; +0xa8, 0x7a5020 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xaa, 0x7a5022 B loc_7A5028 ; +0xae, 0x7a5026 MOV R0, R5 ; +0xb0, 0x7a5028 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb2, 0x7a502a BL __cxa_end_cleanup ; +0xb6, 0x7a502e ADD SP, SP, #0x2C ; ',' ; +0xba, 0x7a5032 POP.W {R4-R9,PC} ; +0xbc, 0x7a5034