{"type": "func", "start": 4617276, "end": 4617440, "name": "AccountLayer::syncAccountFinished", "pseudocode": "// \n// AccountLayer::syncAccountFinished from 0x46743c to 0x4674e0 (164 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x467500\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid AccountLayer::syncAccountFinished(AccountLayer *a1)\n{\n  TextArea *m_textArea; // r8\n  FLAlertLayer *v3; // r6\n  int v4; // [sp+10h] [bp-8h] BYREF\n\n  AccountLayer::hideLoadingUI(a1);\n  m_textArea = a1->m_textArea;\n  sub_776584((int)&v4, \"Sync successful\");\n  TextArea::setString((int)m_textArea, &v4);\n  sub_774008(&v4);\n  TextArea::colorAllCharactersTo(a1->m_textArea, (cocos2d::ccColor3B)65280);\n  sub_776584((int)&v4, \"<cg>Saved data</c> has been <cy>downloaded</c>.\");\n  v3 = FLAlertLayer::create(0, (int)\"Load Data\", (int)&v4, (int)\"OK\", 0, 300.0);\n  sub_774008(&v4);\n  v3->show(v3);\n}", "assembly": "; \n; AccountLayer::syncAccountFinished from 0x46743c to 0x4674e0 (164 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x467500\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x46743c\nSUB             SP, SP, #0x18                                          ; +0x4, 0x467440\nLDR             R5, =(__stack_chk_guard_ptr - 0x46744E)                ; +0x6, 0x467442\nMOV             R7, R0                                                 ; +0x8, 0x467444\nADD             R4, SP, #0x18+var_8                                    ; +0xa, 0x467446\nADD             R6, SP, #0x18+var_C                                    ; +0xc, 0x467448\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x46744a\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x46744c\nLDR             R3, [R5]                                               ; +0x12, 0x46744e\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x14, 0x467450\nBL              _ZN12AccountLayer13hideLoadingUIEv; AccountLayer::hideLoadingUI(void) ; +0x16, 0x467452\nLDR.W           R8, [R7,#0x1F4]                                        ; +0x1a, 0x467456\nMOV             R0, R4; int                                            ; +0x1e, 0x46745a\nLDR             R1, =(aSyncSuccessful - 0x467464); \"Sync successful\"   ; +0x20, 0x46745c\nMOV             R2, R6                                                 ; +0x22, 0x46745e\nADD             R1, PC; \"Sync successful\"                              ; +0x24, 0x467460\nBL              sub_776584                                             ; +0x26, 0x467462\nMOV             R0, R8                                                 ; +0x2a, 0x467466\nMOV             R1, R4                                                 ; +0x2c, 0x467468\nBL              _ZN8TextArea9setStringESs; TextArea::setString(std::string) ; +0x2e, 0x46746a\nMOV             R0, R4                                                 ; +0x32, 0x46746e\nBL              sub_774008                                             ; +0x34, 0x467470\nLDR             R2, =(byte_9ABE98 - 0x46747E)                          ; +0x38, 0x467474\nLDR.W           R0, [R7,#0x1F4]                                        ; +0x3a, 0x467476\nADD             R2, PC; byte_9ABE98                                    ; +0x3e, 0x46747a\nLDRB            R1, [R2,#(byte_9ABE9C - 0x9ABE98)]                     ; +0x40, 0x46747c\nLDRB            R3, [R2,#(byte_9ABE9B - 0x9ABE98)]                     ; +0x42, 0x46747e\nORR.W           R3, R3, R1,LSL#8                                       ; +0x44, 0x467480\nLDRB            R1, [R2,#(byte_9ABE9D - 0x9ABE98)]                     ; +0x48, 0x467484\nORR.W           R1, R3, R1,LSL#16                                      ; +0x4a, 0x467486\nBL              _ZN8TextArea20colorAllCharactersToEN7cocos2d10_ccColor3BE; TextArea::colorAllCharactersTo(cocos2d::_ccColor3B) ; +0x4e, 0x46748a\nLDR             R1, =(aCgSavedDataCHa - 0x467498); \"<cg>Saved data</c> has been <cy>downloa\"... ; +0x52, 0x46748e\nMOV             R2, R6                                                 ; +0x54, 0x467490\nMOV             R0, R4; int                                            ; +0x56, 0x467492\nADD             R1, PC; \"<cg>Saved data</c> has been <cy>downloa\"...   ; +0x58, 0x467494\nBL              sub_776584                                             ; +0x5a, 0x467496\nLDR             R3, flt_4674E0                                         ; +0x5e, 0x46749a\nLDR             R1, =(aLoadData - 0x4674AA); \"Load Data\"               ; +0x60, 0x46749c\nMOVS            R0, #0; int                                            ; +0x62, 0x46749e\nMOV             R2, R4; int                                            ; +0x64, 0x4674a0\nSTR             R0, [SP,#0x18+var_18]; int                             ; +0x66, 0x4674a2\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x68, 0x4674a4\nADD             R1, PC; \"Load Data\"                                    ; +0x6a, 0x4674a6\nLDR             R3, =(aOk - 0x4674AE); \"OK\"                            ; +0x6c, 0x4674a8\nADD             R3, PC; \"OK\"                                           ; +0x6e, 0x4674aa\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x70, 0x4674ac\nMOV             R6, R0                                                 ; +0x74, 0x4674b0\nMOV             R0, R4                                                 ; +0x76, 0x4674b2\nBL              sub_774008                                             ; +0x78, 0x4674b4\nLDR             R3, [R6]                                               ; +0x7c, 0x4674b8\nMOV             R0, R6                                                 ; +0x7e, 0x4674ba\nLDR.W           R3, [R3,#0x284]                                        ; +0x80, 0x4674bc\nBLX             R3                                                     ; +0x84, 0x4674c0\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x86, 0x4674c2\nLDR             R3, [R5]                                               ; +0x88, 0x4674c4\nCMP             R2, R3                                                 ; +0x8a, 0x4674c6\nBEQ             loc_4674DA                                             ; +0x8c, 0x4674c8\nBLX             __stack_chk_fail                                       ; +0x8e, 0x4674ca\nB               loc_4674D0                                             ; +0x92, 0x4674ce\nMOV             R0, R4                                                 ; +0x94, 0x4674d0\nBL              sub_774008                                             ; +0x96, 0x4674d2\nBL              __cxa_end_cleanup                                      ; +0x9a, 0x4674d6\nADD             SP, SP, #0x18                                          ; +0x9e, 0x4674da\nPOP.W           {R4-R8,PC}                                             ; +0xa0, 0x4674dc", "xrefs": ["`non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x467500"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}