{"type": "func", "start": 4612720, "end": 4612832, "name": "AccountHelpLayer::onAccountManagement", "pseudocode": "// \n// AccountHelpLayer::onAccountManagement from 0x466270 to 0x4662e0 (112 bytes)\n// \n// 0 xrefs:\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 AccountHelpLayer::onAccountManagement(AccountHelpLayer *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r5\n  _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584((int)v4, \"Open the account management page?\");\n  v3 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)\"Manage\", (int)v4, (int)\"Cancel\", (int)\"Yes\", 360.0);\n  sub_774008(v4);\n  v3->setTag(v3, 5);\n  v3->show(v3);\n}", "assembly": "; \n; AccountHelpLayer::onAccountManagement from 0x466270 to 0x4662e0 (112 bytes)\n; \n; 0 xrefs:\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            {R4-R6,LR}                                             ; +0x0, 0x466270\nSUB             SP, SP, #0x18                                          ; +0x2, 0x466272\nLDR             R6, =(__stack_chk_guard_ptr - 0x466280)                ; +0x4, 0x466274\nADD             R4, SP, #0x18+var_8                                    ; +0x6, 0x466276\nLDR             R1, =(aOpenTheAccount_0 - 0x466286); \"Open the account management page?\" ; +0x8, 0x466278\nMOV             R5, R0                                                 ; +0xa, 0x46627a\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x46627c\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x46627e\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x466280\nADD             R1, PC; \"Open the account management page?\"            ; +0x12, 0x466282\nMOV             R0, R4; int                                            ; +0x14, 0x466284\nLDR             R3, [R6]                                               ; +0x16, 0x466286\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x466288\nBL              sub_776584                                             ; +0x1a, 0x46628a\nLDR             R3, =(aYes - 0x46629C); \"Yes\"                          ; +0x1e, 0x46628e\nADD.W           R0, R5, #0x1E4; int                                    ; +0x20, 0x466290\nLDR             R1, =(aManage - 0x4662A2); \"Manage\"                    ; +0x24, 0x466294\nMOV             R2, R4; int                                            ; +0x26, 0x466296\nADD             R3, PC; \"Yes\"                                          ; +0x28, 0x466298\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x46629a\nLDR             R3, flt_4662E0                                         ; +0x2c, 0x46629c\nADD             R1, PC; \"Manage\"                                       ; +0x2e, 0x46629e\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x4662a0\nLDR             R3, =(aCancel - 0x4662A8); \"Cancel\"                    ; +0x32, 0x4662a2\nADD             R3, PC; \"Cancel\"                                       ; +0x34, 0x4662a4\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x4662a6\nMOV             R5, R0                                                 ; +0x3a, 0x4662aa\nMOV             R0, R4                                                 ; +0x3c, 0x4662ac\nBL              sub_774008                                             ; +0x3e, 0x4662ae\nLDR             R3, [R5]                                               ; +0x42, 0x4662b2\nMOV             R0, R5                                                 ; +0x44, 0x4662b4\nMOVS            R1, #5                                                 ; +0x46, 0x4662b6\nLDR             R3, [R3,#0x24]                                         ; +0x48, 0x4662b8\nBLX             R3                                                     ; +0x4a, 0x4662ba\nLDR             R3, [R5]                                               ; +0x4c, 0x4662bc\nMOV             R0, R5                                                 ; +0x4e, 0x4662be\nLDR.W           R3, [R3,#0x284]                                        ; +0x50, 0x4662c0\nBLX             R3                                                     ; +0x54, 0x4662c4\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x56, 0x4662c6\nLDR             R3, [R6]                                               ; +0x58, 0x4662c8\nCMP             R2, R3                                                 ; +0x5a, 0x4662ca\nBEQ             loc_4662DC                                             ; +0x5c, 0x4662cc\nBLX             __stack_chk_fail                                       ; +0x5e, 0x4662ce\nMOV             R0, R4                                                 ; +0x62, 0x4662d2\nBL              sub_774008                                             ; +0x64, 0x4662d4\nBL              __cxa_end_cleanup                                      ; +0x68, 0x4662d8\nADD             SP, SP, #0x18                                          ; +0x6c, 0x4662dc\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x4662de", "xrefs": [], "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"}