; ; AccountLayer::onSync from 0x4662f8 to 0x4663ba (194 bytes) ; ; 0 xrefs: ; ; 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-R8,LR} ; +0x0, 0x4662f8 SUB SP, SP, #0x18 ; +0x4, 0x4662fc LDR R6, =(__stack_chk_guard_ptr - 0x46630A) ; +0x6, 0x4662fe MOV R8, R0 ; +0x8, 0x466300 ADD R4, SP, #0x18+var_8 ; +0xa, 0x466302 ADD R7, SP, #0xC ; +0xc, 0x466304 ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x466306 LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x466308 LDR R5, =0x43960000 ; +0x12, 0x46630a LDR R3, [R6] ; +0x14, 0x46630c STR R3, [SP,#0x18+var_4] ; +0x16, 0x46630e BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x18, 0x466310 LDR R1, =(aSyncAccount - 0x46631C); "sync_account" ; +0x1c, 0x466314 LDR R2, flt_4663C0; float ; +0x1e, 0x466316 ADD R1, PC; "sync_account" ; +0x20, 0x466318 BL _ZN16GameLevelManager11getTimeLeftEPKcf; GameLevelManager::getTimeLeft(char const*,float) ; +0x22, 0x46631a SUBS R3, R0, #1 ; +0x26, 0x46631e MOV R1, R0; char * ; +0x28, 0x466320 CMP R3, #0x1D ; +0x2a, 0x466322 BHI loc_46635A ; +0x2c, 0x466324 LDR R0, =(aPleaseWaitISec_0 - 0x46632C); "Please wait %i seconds before attemptin"... ; +0x2e, 0x466326 ADD R0, PC; "Please wait %i seconds before attemptin"... ; +0x30, 0x466328 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x32, 0x46632a BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x36, 0x46632e MOV R2, R7 ; +0x3a, 0x466332 MOV R1, R0; char * ; +0x3c, 0x466334 MOV R0, R4; int ; +0x3e, 0x466336 BL sub_776584 ; +0x40, 0x466338 LDR R1, =(aTooFast - 0x466348); "Too fast" ; +0x44, 0x46633c LDR R3, =(aOk - 0x46634E); "OK" ; +0x46, 0x46633e MOVS R0, #0; int ; +0x48, 0x466340 STR R5, [SP,#0x18+var_14]; float ; +0x4a, 0x466342 ADD R1, PC; "Too fast" ; +0x4c, 0x466344 STR R0, [SP,#0x18+var_18]; int ; +0x4e, 0x466346 MOV R2, R4; int ; +0x50, 0x466348 ADD R3, PC; "OK" ; +0x52, 0x46634a BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x54, 0x46634c MOV R5, R0 ; +0x58, 0x466350 MOV R0, R4 ; +0x5a, 0x466352 BL sub_774008 ; +0x5c, 0x466354 B loc_466392 ; +0x60, 0x466358 LDR R1, =(aDoYouWantToCgD - 0x466364); "Do you want to download your ac"... ; +0x62, 0x46635a MOV R2, R7 ; +0x64, 0x46635c MOV R0, R4; int ; +0x66, 0x46635e ADD R1, PC; "Do you want to download your ac"... ; +0x68, 0x466360 BL sub_776584 ; +0x6a, 0x466362 LDR R3, =(aLoad - 0x466372); "Load" ; +0x6e, 0x466366 LDR R1, =(aLoadData - 0x466378); "Load Data" ; +0x70, 0x466368 ADD.W R0, R8, #0x1EC; int ; +0x72, 0x46636a ADD R3, PC; "Load" ; +0x76, 0x46636e STR R3, [SP,#0x18+var_18]; int ; +0x78, 0x466370 LDR R3, =(aCancel - 0x46637E); "Cancel" ; +0x7a, 0x466372 ADD R1, PC; "Load Data" ; +0x7c, 0x466374 STR R5, [SP,#0x18+var_14]; float ; +0x7e, 0x466376 MOV R2, R4; int ; +0x80, 0x466378 ADD R3, PC; "Cancel" ; +0x82, 0x46637a BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x84, 0x46637c MOV R5, R0 ; +0x88, 0x466380 MOV R0, R4 ; +0x8a, 0x466382 BL sub_774008 ; +0x8c, 0x466384 LDR R3, [R5] ; +0x90, 0x466388 MOV R0, R5 ; +0x92, 0x46638a MOVS R1, #2 ; +0x94, 0x46638c LDR R3, [R3,#0x24] ; +0x96, 0x46638e BLX R3 ; +0x98, 0x466390 LDR R3, [R5] ; +0x9a, 0x466392 MOV R0, R5 ; +0x9c, 0x466394 LDR.W R3, [R3,#0x284] ; +0x9e, 0x466396 BLX R3 ; +0xa2, 0x46639a LDR R2, [SP,#0x18+var_4] ; +0xa4, 0x46639c LDR R3, [R6] ; +0xa6, 0x46639e CMP R2, R3 ; +0xa8, 0x4663a0 BEQ loc_4663B4 ; +0xaa, 0x4663a2 BLX __stack_chk_fail ; +0xac, 0x4663a4 B loc_4663AA ; +0xb0, 0x4663a8 MOV R0, R4 ; +0xb2, 0x4663aa BL sub_774008 ; +0xb4, 0x4663ac BL __cxa_end_cleanup ; +0xb8, 0x4663b0 ADD SP, SP, #0x18 ; +0xbc, 0x4663b4 POP.W {R4-R8,PC} ; +0xbe, 0x4663b6