{"type": "func", "start": 4295813152, "end": 4295813320, "name": "AccountHelpLayer::onAccountManagement", "pseudocode": "// \n// AccountHelpLayer::onAccountManagement from 0x1000ce820 to 0x1000ce8c8 (168 bytes)\n// \n// 1 xrefs:\n// > AccountHelpLayer::customSetup @ 0x1000ce5ea\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 __fastcall AccountHelpLayer::onAccountManagement(AccountHelpLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x28u);\n  v3[0] = 41;\n  v3[1] = 33;\n  strcpy((char *)__p, \"Open the account management page?\");\n  v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Manage\", v3, \"Cancel\", \"Yes\", 360.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 5);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; AccountHelpLayer::onAccountManagement from 0x1000ce820 to 0x1000ce8c8 (168 bytes)\n; \n; 1 xrefs:\n; > AccountHelpLayer::customSetup @ 0x1000ce5ea\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    rbp                                                            ; +0x0, 0x1000ce820\nmov     rbp, rsp                                                       ; +0x1, 0x1000ce821\npush    rbx                                                            ; +0x4, 0x1000ce824\nsub     rsp, 18h                                                       ; +0x5, 0x1000ce825\nmov     rbx, rdi                                                       ; +0x9, 0x1000ce829\nadd     rbx, 268h                                                      ; +0xc, 0x1000ce82c\nmov     edi, 28h ; '('; __sz                                           ; +0x13, 0x1000ce833\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1000ce838\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1000ce83d\nmov     [rbp+var_20], 29h ; ')'                                        ; +0x21, 0x1000ce841\nmov     [rbp+var_18], 21h ; '!'                                        ; +0x29, 0x1000ce849\nmovups  xmm0, xmmword ptr cs:aOpenTheAccount_0+10h; \" management page?\" ; +0x31, 0x1000ce851\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x38, 0x1000ce858\nmovups  xmm0, xmmword ptr cs:aOpenTheAccount_0; \"Open the account management page?\" ; +0x3c, 0x1000ce85c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x43, 0x1000ce863\nmov     word ptr [rax+20h], 3Fh ; '?'                                  ; +0x46, 0x1000ce866\nlea     rsi, aManage; \"Manage\"                                         ; +0x4c, 0x1000ce86c\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x53, 0x1000ce873\nlea     r8, aYes; \"Yes\"                                                ; +0x5a, 0x1000ce87a\nlea     rdx, [rbp+var_20]                                              ; +0x61, 0x1000ce881\nmovss   xmm0, cs:flt_100815070                                         ; +0x65, 0x1000ce885\nmov     rdi, rbx                                                       ; +0x6d, 0x1000ce88d\ncall    FLAlertLayer__create_1                                         ; +0x70, 0x1000ce890\nmov     rbx, rax                                                       ; +0x75, 0x1000ce895\ntest    byte ptr [rbp+var_20], 1                                       ; +0x78, 0x1000ce898\njz      short loc_1000CE8A7                                            ; +0x7c, 0x1000ce89c\nmov     rdi, [rbp+__p]; __p                                            ; +0x7e, 0x1000ce89e\ncall    __ZdlPv; operator delete(void *)                               ; +0x82, 0x1000ce8a2\nmov     rax, [rbx]                                                     ; +0x87, 0x1000ce8a7\nmov     rdi, rbx                                                       ; +0x8a, 0x1000ce8aa\nmov     esi, 5                                                         ; +0x8d, 0x1000ce8ad\ncall    qword ptr [rax+48h]                                            ; +0x92, 0x1000ce8b2\nmov     rax, [rbx]                                                     ; +0x95, 0x1000ce8b5\nmov     rdi, rbx                                                       ; +0x98, 0x1000ce8b8\ncall    qword ptr [rax+508h]                                           ; +0x9b, 0x1000ce8bb\nadd     rsp, 18h                                                       ; +0xa1, 0x1000ce8c1\npop     rbx                                                            ; +0xa5, 0x1000ce8c5\npop     rbp                                                            ; +0xa6, 0x1000ce8c6\nretn                                                                   ; +0xa7, 0x1000ce8c7", "xrefs": ["AccountHelpLayer::customSetup @ 0x1000ce5ea"], "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"}