{"type": "func", "start": 4616684, "end": 4616848, "name": "AccountLayer::backupAccountFinished", "pseudocode": "// \n// AccountLayer::backupAccountFinished from 0x4671ec to 0x467290 (164 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AccountLayer::backupAccountFinished @ 0x4672b0\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::backupAccountFinished(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, \"Backup 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, \"Your <cg>save data</c> has been <cy>backed up</c>.\");\n  v3 = FLAlertLayer::create(0, (int)\"Save Data\", (int)&v4, (int)\"OK\", 0, 300.0);\n  sub_774008(&v4);\n  v3->show(v3);\n}", "assembly": "; \n; AccountLayer::backupAccountFinished from 0x4671ec to 0x467290 (164 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AccountLayer::backupAccountFinished @ 0x4672b0\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, 0x4671ec\nSUB             SP, SP, #0x18                                          ; +0x4, 0x4671f0\nLDR             R5, =(__stack_chk_guard_ptr - 0x4671FE)                ; +0x6, 0x4671f2\nMOV             R7, R0                                                 ; +0x8, 0x4671f4\nADD             R4, SP, #0x18+var_8                                    ; +0xa, 0x4671f6\nADD             R6, SP, #0x18+var_C                                    ; +0xc, 0x4671f8\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4671fa\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x4671fc\nLDR             R3, [R5]                                               ; +0x12, 0x4671fe\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x14, 0x467200\nBL              _ZN12AccountLayer13hideLoadingUIEv; AccountLayer::hideLoadingUI(void) ; +0x16, 0x467202\nLDR.W           R8, [R7,#0x1F4]                                        ; +0x1a, 0x467206\nMOV             R0, R4; int                                            ; +0x1e, 0x46720a\nLDR             R1, =(aBackupSuccessf - 0x467214); \"Backup successful\" ; +0x20, 0x46720c\nMOV             R2, R6                                                 ; +0x22, 0x46720e\nADD             R1, PC; \"Backup successful\"                            ; +0x24, 0x467210\nBL              sub_776584                                             ; +0x26, 0x467212\nMOV             R0, R8                                                 ; +0x2a, 0x467216\nMOV             R1, R4                                                 ; +0x2c, 0x467218\nBL              _ZN8TextArea9setStringESs; TextArea::setString(std::string) ; +0x2e, 0x46721a\nMOV             R0, R4                                                 ; +0x32, 0x46721e\nBL              sub_774008                                             ; +0x34, 0x467220\nLDR             R2, =(byte_9ABE98 - 0x46722E)                          ; +0x38, 0x467224\nLDR.W           R0, [R7,#0x1F4]                                        ; +0x3a, 0x467226\nADD             R2, PC; byte_9ABE98                                    ; +0x3e, 0x46722a\nLDRB            R1, [R2,#(byte_9ABE9C - 0x9ABE98)]                     ; +0x40, 0x46722c\nLDRB            R3, [R2,#(byte_9ABE9B - 0x9ABE98)]                     ; +0x42, 0x46722e\nORR.W           R3, R3, R1,LSL#8                                       ; +0x44, 0x467230\nLDRB            R1, [R2,#(byte_9ABE9D - 0x9ABE98)]                     ; +0x48, 0x467234\nORR.W           R1, R3, R1,LSL#16                                      ; +0x4a, 0x467236\nBL              _ZN8TextArea20colorAllCharactersToEN7cocos2d10_ccColor3BE; TextArea::colorAllCharactersTo(cocos2d::_ccColor3B) ; +0x4e, 0x46723a\nLDR             R1, =(aYourCgSaveData - 0x467248); \"Your <cg>save data</c> has been <cy>bac\"... ; +0x52, 0x46723e\nMOV             R2, R6                                                 ; +0x54, 0x467240\nMOV             R0, R4; int                                            ; +0x56, 0x467242\nADD             R1, PC; \"Your <cg>save data</c> has been <cy>bac\"...   ; +0x58, 0x467244\nBL              sub_776584                                             ; +0x5a, 0x467246\nLDR             R3, flt_467290                                         ; +0x5e, 0x46724a\nLDR             R1, =(aSaveData - 0x46725A); \"Save Data\"               ; +0x60, 0x46724c\nMOVS            R0, #0; int                                            ; +0x62, 0x46724e\nMOV             R2, R4; int                                            ; +0x64, 0x467250\nSTR             R0, [SP,#0x18+var_18]; int                             ; +0x66, 0x467252\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x68, 0x467254\nADD             R1, PC; \"Save Data\"                                    ; +0x6a, 0x467256\nLDR             R3, =(aOk - 0x46725E); \"OK\"                            ; +0x6c, 0x467258\nADD             R3, PC; \"OK\"                                           ; +0x6e, 0x46725a\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x70, 0x46725c\nMOV             R6, R0                                                 ; +0x74, 0x467260\nMOV             R0, R4                                                 ; +0x76, 0x467262\nBL              sub_774008                                             ; +0x78, 0x467264\nLDR             R3, [R6]                                               ; +0x7c, 0x467268\nMOV             R0, R6                                                 ; +0x7e, 0x46726a\nLDR.W           R3, [R3,#0x284]                                        ; +0x80, 0x46726c\nBLX             R3                                                     ; +0x84, 0x467270\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x86, 0x467272\nLDR             R3, [R5]                                               ; +0x88, 0x467274\nCMP             R2, R3                                                 ; +0x8a, 0x467276\nBEQ             loc_46728A                                             ; +0x8c, 0x467278\nBLX             __stack_chk_fail                                       ; +0x8e, 0x46727a\nB               loc_467280                                             ; +0x92, 0x46727e\nMOV             R0, R4                                                 ; +0x94, 0x467280\nBL              sub_774008                                             ; +0x96, 0x467282\nBL              __cxa_end_cleanup                                      ; +0x9a, 0x467286\nADD             SP, SP, #0x18                                          ; +0x9e, 0x46728a\nPOP.W           {R4-R8,PC}                                             ; +0xa0, 0x46728c", "xrefs": ["`non-virtual thunk to'AccountLayer::backupAccountFinished @ 0x4672b0"], "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"}