; ; AccountLayer::onSync from 0x584150 to 0x584226 (214 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:56 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x584150 SUB SP, SP, #0x18 ; +0x4, 0x584154 LDR R6, =(__stack_chk_guard_ptr - 0x584162) ; +0x6, 0x584156 MOV R5, R0 ; +0x8, 0x584158 ADD R4, SP, #0x18+var_10 ; +0xa, 0x58415a LDR R7, =0x43960000 ; +0xc, 0x58415c ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x58415e LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x584160 LDR R3, [R6] ; +0x12, 0x584162 STR R3, [SP,#0x18+var_4] ; +0x14, 0x584164 BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x16, 0x584166 LDR R1, =(aSyncAccount - 0x584172); "sync_account" ; +0x1a, 0x58416a LDR R2, flt_58422C; float ; +0x1c, 0x58416c ADD R1, PC; "sync_account" ; +0x1e, 0x58416e BL _ZN16GameLevelManager11getTimeLeftEPKcf; GameLevelManager::getTimeLeft(char const*,float) ; +0x20, 0x584170 SUBS R3, R0, #1 ; +0x24, 0x584174 MOV R1, R0; char * ; +0x26, 0x584176 CMP R3, #0x1D ; +0x28, 0x584178 BHI loc_5841BE ; +0x2a, 0x58417a LDR R0, =(aPleaseWaitISec_1 - 0x584184); "Please wait %i seconds before attemptin"... ; +0x2c, 0x58417c MOVS R5, #0 ; +0x2e, 0x58417e ADD R0, PC; "Please wait %i seconds before attemptin"... ; +0x30, 0x584180 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x32, 0x584182 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x36, 0x584186 STR R5, [SP,#0x18+var_10] ; +0x3a, 0x58418a STR R5, [SP,#0x18+var_C] ; +0x3c, 0x58418c STR R5, [SP,#0x18+var_8] ; +0x3e, 0x58418e MOV R8, R0 ; +0x40, 0x584190 BLX strlen ; +0x42, 0x584192 MOV R1, R8 ; +0x46, 0x584196 MOV R2, R0 ; +0x48, 0x584198 MOV R0, R4 ; +0x4a, 0x58419a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x4c, 0x58419c LDR R1, =(aTooFast - 0x5841AC); "Too fast" ; +0x50, 0x5841a0 LDR R3, =(aOk - 0x5841B2); "OK" ; +0x52, 0x5841a2 MOV R0, R5; int ; +0x54, 0x5841a4 STR R5, [SP,#0x18+var_18]; int ; +0x56, 0x5841a6 ADD R1, PC; "Too fast" ; +0x58, 0x5841a8 STR R7, [SP,#0x18+var_14]; float ; +0x5a, 0x5841aa MOV R2, R4; int ; +0x5c, 0x5841ac ADD R3, PC; "OK" ; +0x5e, 0x5841ae BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x60, 0x5841b0 MOV R5, R0 ; +0x64, 0x5841b4 MOV R0, R4 ; +0x66, 0x5841b6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x68, 0x5841b8 B loc_5841FE ; +0x6c, 0x5841bc LDR R1, =(aDoYouWantToCgD - 0x5841CA); "Do you want to download your ac"... ; +0x6e, 0x5841be MOV R0, R4 ; +0x70, 0x5841c0 MOVS R2, #0x83 ; +0x72, 0x5841c2 MOVS R3, #0 ; +0x74, 0x5841c4 ADD R1, PC; "Do you want to download your ac"... ; +0x76, 0x5841c6 STR R3, [SP,#0x18+var_10] ; +0x78, 0x5841c8 STR R3, [SP,#0x18+var_C] ; +0x7a, 0x5841ca STR R3, [SP,#0x18+var_8] ; +0x7c, 0x5841cc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x7e, 0x5841ce LDR R3, =(aLoad - 0x5841E0); "Load" ; +0x82, 0x5841d2 ADD.W R0, R5, #0x1EC; int ; +0x84, 0x5841d4 LDR R1, =(aLoadData - 0x5841E6); "Load Data" ; +0x88, 0x5841d8 MOV R2, R4; int ; +0x8a, 0x5841da ADD R3, PC; "Load" ; +0x8c, 0x5841dc STR R3, [SP,#0x18+var_18]; int ; +0x8e, 0x5841de LDR R3, =(aCancel - 0x5841EA); "Cancel" ; +0x90, 0x5841e0 ADD R1, PC; "Load Data" ; +0x92, 0x5841e2 STR R7, [SP,#0x18+var_14]; float ; +0x94, 0x5841e4 ADD R3, PC; "Cancel" ; +0x96, 0x5841e6 BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x98, 0x5841e8 MOV R5, R0 ; +0x9c, 0x5841ec MOV R0, R4 ; +0x9e, 0x5841ee BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa0, 0x5841f0 LDR R3, [R5] ; +0xa4, 0x5841f4 MOV R0, R5 ; +0xa6, 0x5841f6 MOVS R1, #2 ; +0xa8, 0x5841f8 LDR R3, [R3,#0x24] ; +0xaa, 0x5841fa BLX R3 ; +0xac, 0x5841fc LDR R3, [R5] ; +0xae, 0x5841fe MOV R0, R5 ; +0xb0, 0x584200 LDR.W R3, [R3,#0x290] ; +0xb2, 0x584202 BLX R3 ; +0xb6, 0x584206 LDR R2, [SP,#0x18+var_4] ; +0xb8, 0x584208 LDR R3, [R6] ; +0xba, 0x58420a CMP R2, R3 ; +0xbc, 0x58420c BEQ loc_584220 ; +0xbe, 0x58420e BLX __stack_chk_fail ; +0xc0, 0x584210 B loc_584216 ; +0xc4, 0x584214 MOV R0, R4 ; +0xc6, 0x584216 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc8, 0x584218 BL __cxa_end_cleanup ; +0xcc, 0x58421c ADD SP, SP, #0x18 ; +0xd0, 0x584220 POP.W {R4-R8,PC} ; +0xd2, 0x584222