{"type": "func", "start": 4295805408, "end": 4295805574, "name": "AccountLayer::onHelp", "pseudocode": "// \n// AccountLayer::onHelp from 0x1000cc9e0 to 0x1000cca86 (166 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::customSetup @ 0x1000cc07e\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 AccountLayer::onHelp(AccountLayer *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(0x20u);\n  v3[0] = 33;\n  v3[1] = 27;\n  strcpy((char *)__p, \"Open the account help page?\");\n  v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Help\", v3, \"Cancel\", \"Yes\", 300.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; AccountLayer::onHelp from 0x1000cc9e0 to 0x1000cca86 (166 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::customSetup @ 0x1000cc07e\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, 0x1000cc9e0\nmov     rbp, rsp                                                       ; +0x1, 0x1000cc9e1\npush    rbx                                                            ; +0x4, 0x1000cc9e4\nsub     rsp, 18h                                                       ; +0x5, 0x1000cc9e5\nmov     rbx, rdi                                                       ; +0x9, 0x1000cc9e9\nadd     rbx, 278h                                                      ; +0xc, 0x1000cc9ec\nmov     edi, 20h ; ' '; __sz                                           ; +0x13, 0x1000cc9f3\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1000cc9f8\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1000cc9fd\nmov     [rbp+var_20], 21h ; '!'                                        ; +0x21, 0x1000cca01\nmov     [rbp+var_18], 1Bh                                              ; +0x29, 0x1000cca09\nmovups  xmm0, xmmword ptr cs:aOpenTheAccount+0Bh; \"count help page?\"   ; +0x31, 0x1000cca11\nmovups  xmmword ptr [rax+0Bh], xmm0                                    ; +0x38, 0x1000cca18\nmovups  xmm0, xmmword ptr cs:aOpenTheAccount; \"Open the account help page?\" ; +0x3c, 0x1000cca1c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x43, 0x1000cca23\nmov     byte ptr [rax+1Bh], 0                                          ; +0x46, 0x1000cca26\nlea     rsi, aHelp; \"Help\"                                             ; +0x4a, 0x1000cca2a\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x51, 0x1000cca31\nlea     r8, aYes; \"Yes\"                                                ; +0x58, 0x1000cca38\nlea     rdx, [rbp+var_20]                                              ; +0x5f, 0x1000cca3f\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x63, 0x1000cca43\nmov     rdi, rbx                                                       ; +0x6b, 0x1000cca4b\ncall    FLAlertLayer__create_1                                         ; +0x6e, 0x1000cca4e\nmov     rbx, rax                                                       ; +0x73, 0x1000cca53\ntest    byte ptr [rbp+var_20], 1                                       ; +0x76, 0x1000cca56\njz      short loc_1000CCA65                                            ; +0x7a, 0x1000cca5a\nmov     rdi, [rbp+__p]; __p                                            ; +0x7c, 0x1000cca5c\ncall    __ZdlPv; operator delete(void *)                               ; +0x80, 0x1000cca60\nmov     rax, [rbx]                                                     ; +0x85, 0x1000cca65\nmov     rdi, rbx                                                       ; +0x88, 0x1000cca68\nmov     esi, 5                                                         ; +0x8b, 0x1000cca6b\ncall    qword ptr [rax+48h]                                            ; +0x90, 0x1000cca70\nmov     rax, [rbx]                                                     ; +0x93, 0x1000cca73\nmov     rdi, rbx                                                       ; +0x96, 0x1000cca76\ncall    qword ptr [rax+508h]                                           ; +0x99, 0x1000cca79\nadd     rsp, 18h                                                       ; +0x9f, 0x1000cca7f\npop     rbx                                                            ; +0xa3, 0x1000cca83\npop     rbp                                                            ; +0xa4, 0x1000cca84\nretn                                                                   ; +0xa5, 0x1000cca85", "xrefs": ["AccountLayer::customSetup @ 0x1000cc07e"], "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"}