{"type": "func", "start": 5784504, "end": 5784678, "name": "AccountLayer::syncAccountFinished", "pseudocode": "// \n// AccountLayer::syncAccountFinished from 0x5843b8 to 0x584466 (174 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x584488\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:52:56 +0000\n// \n\nint __fastcall AccountLayer::syncAccountFinished(AccountLayer *this)\n{\n  int v2; // r7\n  int *v3; // r5\n  int v5; // [sp+8h] [bp-14h] BYREF\n  int v6; // [sp+Ch] [bp-10h]\n  int v7; // [sp+10h] [bp-Ch]\n\n  AccountLayer::hideLoadingUI(this);\n  v2 = *((_DWORD *)this + 125);\n  v5 = 0;\n  v6 = 0;\n  v7 = 0;\n  std::string::__init(&v5, \"Sync successful\", 0xFu);\n  TextArea::setString(v2, &v5);\n  std::string::~string((int)&v5);\n  TextArea::colorAllCharactersTo(*((_DWORD *)this + 125), 65280);\n  v5 = 0;\n  v6 = 0;\n  v7 = 0;\n  std::string::__init(&v5, \"<cg>Saved data</c> has been <cy>downloaded</c>.\", 0x2Fu);\n  v3 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)\"Load Data\", (int)&v5, (ButtonSprite *)\"OK\", nullptr, 300.0);\n  std::string::~string((int)&v5);\n  return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);\n}", "assembly": "; \n; AccountLayer::syncAccountFinished from 0x5843b8 to 0x584466 (174 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x584488\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:52:56 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x5843b8\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x5843ba\nLDR             R6, =(__stack_chk_guard_ptr - 0x5843C6)                ; +0x4, 0x5843bc\nMOV             R5, R0                                                 ; +0x6, 0x5843be\nADD             R4, SP, #0x1C+var_14                                   ; +0x8, 0x5843c0\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xa, 0x5843c2\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xc, 0x5843c4\nLDR             R3, [R6]                                               ; +0xe, 0x5843c6\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x10, 0x5843c8\nBL              _ZN12AccountLayer13hideLoadingUIEv; AccountLayer::hideLoadingUI(void) ; +0x12, 0x5843ca\nLDR.W           R7, [R5,#0x1F4]                                        ; +0x16, 0x5843ce\nMOV             R0, R4                                                 ; +0x1a, 0x5843d2\nLDR             R1, =(aSyncSuccessful - 0x5843E0); \"Sync successful\"   ; +0x1c, 0x5843d4\nMOVS            R2, #0xF                                               ; +0x1e, 0x5843d6\nMOVS            R3, #0                                                 ; +0x20, 0x5843d8\nSTR             R3, [SP,#0x1C+var_14]                                  ; +0x22, 0x5843da\nADD             R1, PC; \"Sync successful\"                              ; +0x24, 0x5843dc\nSTR             R3, [SP,#0x1C+var_10]                                  ; +0x26, 0x5843de\nSTR             R3, [SP,#0x1C+var_C]                                   ; +0x28, 0x5843e0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x5843e2\nMOV             R0, R7                                                 ; +0x2e, 0x5843e6\nMOV             R1, R4                                                 ; +0x30, 0x5843e8\nBL              _ZN8TextArea9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; TextArea::setString(std::string) ; +0x32, 0x5843ea\nMOV             R0, R4                                                 ; +0x36, 0x5843ee\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x5843f0\nLDR             R2, =(byte_BED88C - 0x584400)                          ; +0x3c, 0x5843f4\nLDR.W           R0, [R5,#0x1F4]                                        ; +0x3e, 0x5843f6\nMOVS            R5, #0                                                 ; +0x42, 0x5843fa\nADD             R2, PC; byte_BED88C                                    ; +0x44, 0x5843fc\nLDRB            R1, [R2,#(byte_BED88D - 0xBED88C)]                     ; +0x46, 0x5843fe\nLDRB            R3, [R2]                                               ; +0x48, 0x584400\nORR.W           R3, R3, R1,LSL#8                                       ; +0x4a, 0x584402\nLDRB            R1, [R2,#(byte_BED88E - 0xBED88C)]                     ; +0x4e, 0x584406\nORR.W           R1, R3, R1,LSL#16                                      ; +0x50, 0x584408\nBL              _ZN8TextArea20colorAllCharactersToEN7cocos2d10_ccColor3BE; TextArea::colorAllCharactersTo(cocos2d::_ccColor3B) ; +0x54, 0x58440c\nLDR             R1, =(aCgSavedDataCHa - 0x58441A); \"<cg>Saved data</c> has been <cy>downloa\"... ; +0x58, 0x584410\nMOV             R0, R4                                                 ; +0x5a, 0x584412\nMOVS            R2, #0x2F ; '/'                                        ; +0x5c, 0x584414\nADD             R1, PC; \"<cg>Saved data</c> has been <cy>downloa\"...   ; +0x5e, 0x584416\nSTR             R5, [SP,#0x1C+var_14]                                  ; +0x60, 0x584418\nSTR             R5, [SP,#0x1C+var_10]                                  ; +0x62, 0x58441a\nSTR             R5, [SP,#0x1C+var_C]                                   ; +0x64, 0x58441c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x66, 0x58441e\nLDR             R3, flt_584468                                         ; +0x6a, 0x584422\nMOV             R0, R5; int                                            ; +0x6c, 0x584424\nLDR             R1, =(aLoadData - 0x584432); \"Load Data\"               ; +0x6e, 0x584426\nMOV             R2, R4; int                                            ; +0x70, 0x584428\nSTR             R5, [SP,#0x1C+var_1C]; int                             ; +0x72, 0x58442a\nSTR             R3, [SP,#0x1C+var_18]; float                           ; +0x74, 0x58442c\nADD             R1, PC; \"Load Data\"                                    ; +0x76, 0x58442e\nLDR             R3, =(aOk - 0x584436); \"OK\"                            ; +0x78, 0x584430\nADD             R3, PC; \"OK\"                                           ; +0x7a, 0x584432\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x7c, 0x584434\nMOV             R5, R0                                                 ; +0x80, 0x584438\nMOV             R0, R4                                                 ; +0x82, 0x58443a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x84, 0x58443c\nLDR             R3, [R5]                                               ; +0x88, 0x584440\nMOV             R0, R5                                                 ; +0x8a, 0x584442\nLDR.W           R3, [R3,#0x290]                                        ; +0x8c, 0x584444\nBLX             R3                                                     ; +0x90, 0x584448\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x92, 0x58444a\nLDR             R3, [R6]                                               ; +0x94, 0x58444c\nCMP             R2, R3                                                 ; +0x96, 0x58444e\nBEQ             loc_584462                                             ; +0x98, 0x584450\nBLX             __stack_chk_fail                                       ; +0x9a, 0x584452\nB               loc_584458                                             ; +0x9e, 0x584456\nMOV             R0, R4                                                 ; +0xa0, 0x584458\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa2, 0x58445a\nBL              __cxa_end_cleanup                                      ; +0xa6, 0x58445e\nADD             SP, SP, #0x1C                                          ; +0xaa, 0x584462\nPOP             {R4-R7,PC}                                             ; +0xac, 0x584464", "xrefs": ["`non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x584488"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}