; ; AccountLayer::onSync from 0x100165f98 to 0x1001660b0 (280 bytes) ; ; 1 xrefs: ; > AccountLayer::customSetup @ 0x100165948 ; ; 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 ; SUB SP, SP, #0x60 ; +0x0, 0x100165f98 STP X20, X19, [SP,#0x50+var_10] ; +0x4, 0x100165f9c STP X29, X30, [SP,#0x50+var_s0] ; +0x8, 0x100165fa0 ADD X29, SP, #0x50 ; +0xc, 0x100165fa4 MOV X19, X0 ; +0x10, 0x100165fa8 BL GameLevelManager__sharedState ; +0x14, 0x100165fac ADRL X1, aSyncAccount; "sync_account" ; +0x18, 0x100165fb0 FMOV S0, #30.0 ; +0x20, 0x100165fb8 BL GameLevelManager__getTimeLeft ; +0x24, 0x100165fbc SUB W8, W0, #1 ; +0x28, 0x100165fc0 CMP W8, #0x1D ; +0x2c, 0x100165fc4 B.HI loc_10016602C ; +0x30, 0x100165fc8 STR X0, [SP,#0x50+var_50] ; +0x34, 0x100165fcc ADRL X0, aPleaseWaitISec_0; "Please wait %i seconds before attemptin"... ; +0x38, 0x100165fd0 BL sub_100268F4C ; +0x40, 0x100165fd8 BL cocos2d__CCString__getCString ; +0x44, 0x100165fdc MOV X1, X0; __s ; +0x48, 0x100165fe0 ADD X0, SP, #0x50+__p; int ; +0x4c, 0x100165fe4 BL sub_100009900 ; +0x50, 0x100165fe8 ADRL X1, aTooFast_0; "Too fast" ; +0x54, 0x100165fec ADRL X3, aOk; "OK" ; +0x5c, 0x100165ff4 MOV W8, #0x43960000 ; +0x64, 0x100165ffc FMOV S0, W8 ; +0x68, 0x100166000 ADD X2, SP, #0x50+__p ; +0x6c, 0x100166004 MOV X0, #0 ; +0x70, 0x100166008 MOV X4, #0 ; +0x74, 0x10016600c BL FLAlertLayer__create_1 ; +0x78, 0x100166010 MOV X19, X0 ; +0x7c, 0x100166014 LDRSB W8, [SP,#0x50+var_11] ; +0x80, 0x100166018 TBZ W8, #0x1F, loc_100166090 ; +0x84, 0x10016601c LDR X0, [SP,#0x50+__p]; __p ; +0x88, 0x100166020 BL __ZdlPv; operator delete(void *) ; +0x8c, 0x100166024 B loc_100166090 ; +0x90, 0x100166028 ADRL X1, aDoYouWantToCgD; "Do you want to download your ac"... ; +0x94, 0x10016602c ADD X0, SP, #0x50+var_40; int ; +0x9c, 0x100166034 BL sub_100009900 ; +0xa0, 0x100166038 ADRL X1, aLoadData; "Load Data" ; +0xa4, 0x10016603c ADRL X3, aCancel; "Cancel" ; +0xac, 0x100166044 ADRL X4, aLoad; "Load" ; +0xb4, 0x10016604c MOV W8, #0x43960000 ; +0xbc, 0x100166054 FMOV S0, W8 ; +0xc0, 0x100166058 ADD X0, X19, #0x278 ; +0xc4, 0x10016605c ADD X2, SP, #0x50+var_40 ; +0xc8, 0x100166060 BL FLAlertLayer__create_1 ; +0xcc, 0x100166064 MOV X19, X0 ; +0xd0, 0x100166068 LDRSB W8, [SP,#0x50+var_29] ; +0xd4, 0x10016606c TBZ W8, #0x1F, loc_10016607C ; +0xd8, 0x100166070 LDR X0, [SP,#0x50+var_40]; __p ; +0xdc, 0x100166074 BL __ZdlPv; operator delete(void *) ; +0xe0, 0x100166078 LDR X8, [X19] ; +0xe4, 0x10016607c LDR X8, [X8,#0x48] ; +0xe8, 0x100166080 MOV X0, X19 ; +0xec, 0x100166084 MOV W1, #2 ; +0xf0, 0x100166088 BLR X8 ; +0xf4, 0x10016608c LDR X8, [X19] ; +0xf8, 0x100166090 LDR X8, [X8,#0x508] ; +0xfc, 0x100166094 MOV X0, X19 ; +0x100, 0x100166098 BLR X8 ; +0x104, 0x10016609c LDP X29, X30, [SP,#0x50+var_s0] ; +0x108, 0x1001660a0 LDP X20, X19, [SP,#0x50+var_10] ; +0x10c, 0x1001660a4 ADD SP, SP, #0x60 ; '`' ; +0x110, 0x1001660a8 RET ; +0x114, 0x1001660ac