; ; AccountHelpLayer::onUnlink from 0x58520c to 0x5852c8 (188 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:52:57 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0x58520c SUB SP, SP, #0x1C ; +0x2, 0x58520e LDR R6, =(__stack_chk_guard_ptr - 0x58521A) ; +0x4, 0x585210 MOV R7, R0 ; +0x6, 0x585212 ADD R4, SP, #0x1C+var_14 ; +0x8, 0x585214 ADD R6, PC; __stack_chk_guard_ptr ; +0xa, 0x585216 LDR R6, [R6]; __stack_chk_guard ; +0xc, 0x585218 LDR R3, [R6] ; +0xe, 0x58521a STR R3, [SP,#0x1C+var_8] ; +0x10, 0x58521c BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x12, 0x58521e ADD.W R1, R0, #0x10C ; +0x16, 0x585222 MOV R0, R4 ; +0x1a, 0x585226 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x1c, 0x585228 LDRB.W R3, [SP,#0x1C+var_14] ; +0x20, 0x58522c LDR R0, =(aAreYouSureYouW_8 - 0x58523E); "Are you sure you want to unlink"... ; +0x24, 0x585230 LSLS R3, R3, #0x1F ; +0x26, 0x585232 IT PL ; +0x28, 0x585234 ADDPL.W R1, SP, #0x1C+var_14+1 ; +0x2a, 0x585236 ADD R0, PC; "Are you sure you want to unlink"... ; +0x2e, 0x58523a IT MI ; +0x30, 0x58523c LDRMI R1, [SP,#0x1C+var_C]; char * ; +0x32, 0x58523e BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x34, 0x585240 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x38, 0x585244 MOV R5, R0 ; +0x3c, 0x585248 MOV R0, R4 ; +0x3e, 0x58524a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x40, 0x58524c MOV R0, R5; char * ; +0x44, 0x585250 MOVS R3, #0 ; +0x46, 0x585252 STR R3, [SP,#0x1C+var_14] ; +0x48, 0x585254 STR R3, [SP,#0x1C+var_10] ; +0x4a, 0x585256 STR R3, [SP,#0x1C+var_C] ; +0x4c, 0x585258 BLX strlen ; +0x4e, 0x58525a MOV R1, R5 ; +0x52, 0x58525e MOV R2, R0 ; +0x54, 0x585260 MOV R0, R4 ; +0x56, 0x585262 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x58, 0x585264 LDR R3, =(aUnlink - 0x585274); "Unlink" ; +0x5c, 0x585268 LDR R1, =(aUnlinkAccount - 0x58527A); "Unlink Account" ; +0x5e, 0x58526a ADD.W R0, R7, #0x1E4; int ; +0x60, 0x58526c ADD R3, PC; "Unlink" ; +0x64, 0x585270 STR R3, [SP,#0x1C+var_1C]; int ; +0x66, 0x585272 LDR R3, flt_5852C8 ; +0x68, 0x585274 ADD R1, PC; "Unlink Account" ; +0x6a, 0x585276 MOV R2, R4; int ; +0x6c, 0x585278 STR R3, [SP,#0x1C+var_18]; float ; +0x6e, 0x58527a LDR R3, =(aCancel - 0x585282); "Cancel" ; +0x70, 0x58527c ADD R3, PC; "Cancel" ; +0x72, 0x58527e BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x74, 0x585280 MOV R5, R0 ; +0x78, 0x585284 MOV R0, R4 ; +0x7a, 0x585286 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7c, 0x585288 LDR R1, =(aGjButton05Png - 0x585296); "GJ_button_05.png" ; +0x80, 0x58528c LDR.W R0, [R5,#0x1E4]; this ; +0x82, 0x58528e ADD R1, PC; "GJ_button_05.png" ; +0x86, 0x585292 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x88, 0x585294 LDR R3, [R5] ; +0x8c, 0x585298 MOV R0, R5 ; +0x8e, 0x58529a MOVS R1, #3 ; +0x90, 0x58529c LDR R3, [R3,#0x24] ; +0x92, 0x58529e BLX R3 ; +0x94, 0x5852a0 LDR R3, [R5] ; +0x96, 0x5852a2 MOV R0, R5 ; +0x98, 0x5852a4 LDR.W R3, [R3,#0x290] ; +0x9a, 0x5852a6 BLX R3 ; +0x9e, 0x5852aa LDR R2, [SP,#0x1C+var_8] ; +0xa0, 0x5852ac LDR R3, [R6] ; +0xa2, 0x5852ae CMP R2, R3 ; +0xa4, 0x5852b0 BEQ loc_5852C4 ; +0xa6, 0x5852b2 BLX __stack_chk_fail ; +0xa8, 0x5852b4 B loc_5852BA ; +0xac, 0x5852b8 MOV R0, R4 ; +0xae, 0x5852ba BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb0, 0x5852bc BL __cxa_end_cleanup ; +0xb4, 0x5852c0 ADD SP, SP, #0x1C ; +0xb8, 0x5852c4 POP {R4-R7,PC} ; +0xba, 0x5852c6