; ; AccountLoginLayer::loginAccountFinished from 0x587b28 to 0x587c22 (250 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'AccountLoginLayer::loginAccountFinished @ 0x587c3c ; ; 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:59 +0000 ; PUSH.W {R4-R10,LR} ; +0x0, 0x587b28 SUB SP, SP, #0x28 ; +0x4, 0x587b2c LDR R7, =(__stack_chk_guard_ptr - 0x587B3A) ; +0x6, 0x587b2e MOV R5, R0 ; +0x8, 0x587b30 MOV R8, R1 ; +0xa, 0x587b32 MOV R10, R2 ; +0xc, 0x587b34 ADD R7, PC; __stack_chk_guard_ptr ; +0xe, 0x587b36 LDR R7, [R7]; __stack_chk_guard ; +0x10, 0x587b38 ADD R6, SP, #0x28+var_1C ; +0x12, 0x587b3a ADD R4, SP, #0x28+var_10 ; +0x14, 0x587b3c LDR R3, [R7] ; +0x16, 0x587b3e STR R3, [SP,#0x28+var_4] ; +0x18, 0x587b40 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x1a, 0x587b42 ADD.W R1, R5, #0x224 ; +0x1e, 0x587b46 MOV R9, R0 ; +0x22, 0x587b4a MOV R0, R6 ; +0x24, 0x587b4c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x26, 0x587b4e MOV R0, R4 ; +0x2a, 0x587b52 ADD.W R1, R5, #0x230 ; +0x2c, 0x587b54 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x30, 0x587b58 STR.W R10, [SP,#0x28+var_28] ; +0x34, 0x587b5c MOV R0, R9 ; +0x38, 0x587b60 MOV R1, R6 ; +0x3a, 0x587b62 MOV R2, R4 ; +0x3c, 0x587b64 MOV R3, R8 ; +0x3e, 0x587b66 BL _ZN16GJAccountManager13linkToAccountENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ii; GJAccountManager::linkToAccount(std::string,std::string,int,int) ; +0x40, 0x587b68 MOV R0, R4 ; +0x44, 0x587b6c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x46, 0x587b6e MOV R0, R6 ; +0x4a, 0x587b72 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x587b74 LDR.W R1, [R5,#0x210] ; +0x50, 0x587b78 MOV R0, R4; this ; +0x54, 0x587b7c BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x56, 0x587b7e LDRB.W R3, [SP,#0x28+var_10] ; +0x5a, 0x587b82 LDR R0, =(aThankYouForLog - 0x587B94); "Thank you for logging in.\nYou have now"... ; +0x5e, 0x587b86 LSLS R3, R3, #0x1F ; +0x60, 0x587b88 IT PL ; +0x62, 0x587b8a ADDPL.W R1, SP, #0x28+var_10+1 ; +0x64, 0x587b8c ADD R0, PC; "Thank you for logging in.\nYou have now"... ; +0x68, 0x587b90 IT MI ; +0x6a, 0x587b92 LDRMI R1, [SP,#0x28+var_8]; char * ; +0x6c, 0x587b94 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x6e, 0x587b96 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x72, 0x587b9a MOV R8, R0 ; +0x76, 0x587b9e MOV R0, R4 ; +0x78, 0x587ba0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7a, 0x587ba2 MOV R0, R5; this ; +0x7e, 0x587ba6 BL _ZN17AccountLoginLayer13hideLoadingUIEv; AccountLoginLayer::hideLoadingUI(void) ; +0x80, 0x587ba8 MOV R0, R8; char * ; +0x84, 0x587bac MOVS R6, #0 ; +0x86, 0x587bae STR R6, [SP,#0x28+var_10] ; +0x88, 0x587bb0 STR R6, [SP,#0x28+var_C] ; +0x8a, 0x587bb2 STR R6, [SP,#0x28+var_8] ; +0x8c, 0x587bb4 BLX strlen ; +0x8e, 0x587bb6 MOV R1, R8 ; +0x92, 0x587bba MOV R2, R0 ; +0x94, 0x587bbc MOV R0, R4 ; +0x96, 0x587bbe BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x98, 0x587bc0 LDR R3, flt_587C24 ; +0x9c, 0x587bc4 LDR R1, =(aLoginSuccess - 0x587BD6); "Login Success" ; +0x9e, 0x587bc6 ADD.W R0, R5, #0x20C; int ; +0xa0, 0x587bc8 STR R6, [SP,#0x28+var_28]; int ; +0xa4, 0x587bcc MOV R2, R4; int ; +0xa6, 0x587bce STR R3, [SP,#0x28+var_24]; float ; +0xa8, 0x587bd0 ADD R1, PC; "Login Success" ; +0xaa, 0x587bd2 LDR R3, =(aOk - 0x587BDA); "OK" ; +0xac, 0x587bd4 ADD R3, PC; "OK" ; +0xae, 0x587bd6 BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0xb0, 0x587bd8 MOV R5, R0 ; +0xb4, 0x587bdc MOV R0, R4 ; +0xb6, 0x587bde BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb8, 0x587be0 LDR R3, [R5] ; +0xbc, 0x587be4 MOV R0, R5 ; +0xbe, 0x587be6 MOVS R1, #2 ; +0xc0, 0x587be8 LDR R3, [R3,#0x24] ; +0xc2, 0x587bea BLX R3 ; +0xc4, 0x587bec LDR R3, [R5] ; +0xc6, 0x587bee MOV R0, R5 ; +0xc8, 0x587bf0 LDR.W R3, [R3,#0x290] ; +0xca, 0x587bf2 BLX R3 ; +0xce, 0x587bf6 LDR R2, [SP,#0x28+var_4] ; +0xd0, 0x587bf8 LDR R3, [R7] ; +0xd2, 0x587bfa CMP R2, R3 ; +0xd4, 0x587bfc BEQ loc_587C1C ; +0xd6, 0x587bfe BLX __stack_chk_fail ; +0xd8, 0x587c00 MOV R0, R4 ; +0xdc, 0x587c04 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xde, 0x587c06 B loc_587C0C ; +0xe2, 0x587c0a MOV R0, R6 ; +0xe4, 0x587c0c B loc_587C12 ; +0xe6, 0x587c0e MOV R0, R4 ; +0xe8, 0x587c10 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xea, 0x587c12 BL __cxa_end_cleanup ; +0xee, 0x587c16 B loc_587C10 ; +0xf2, 0x587c1a ADD SP, SP, #0x28 ; '(' ; +0xf4, 0x587c1c POP.W {R4-R10,PC} ; +0xf6, 0x587c1e