{"type": "func", "start": 4296433892, "end": 4296434044, "name": "AccountLayer::onHelp", "pseudocode": "// \n// AccountLayer::onHelp from 0x1001660e4 to 0x10016617c (152 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::customSetup @ 0x100165994\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 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"Open the account help page?\");\n  v3 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Help\", __p, \"Cancel\", \"Yes\", 300.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 5);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);\n}", "assembly": "; \n; AccountLayer::onHelp from 0x1001660e4 to 0x10016617c (152 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::customSetup @ 0x100165994\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001660e4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001660e8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001660ec\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001660f0\nMOV             X19, X0                                                ; +0x10, 0x1001660f4\nADRL            X1, aOpenTheAccount; \"Open the account help page?\"     ; +0x14, 0x1001660f8\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x100166100\nBL              sub_100009900                                          ; +0x20, 0x100166104\nADRL            X1, aHelp; \"Help\"                                      ; +0x24, 0x100166108\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x2c, 0x100166110\nADRL            X4, aYes_0; \"Yes\"                                      ; +0x34, 0x100166118\nMOV             W8, #0x43960000                                        ; +0x3c, 0x100166120\nFMOV            S0, W8                                                 ; +0x40, 0x100166124\nADD             X0, X19, #0x278                                        ; +0x44, 0x100166128\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x10016612c\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x100166130\nMOV             X19, X0                                                ; +0x50, 0x100166134\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x100166138\nTBZ             W8, #0x1F, loc_100166148                               ; +0x58, 0x10016613c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x100166140\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x100166144\nLDR             X8, [X19]                                              ; +0x64, 0x100166148\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x10016614c\nMOV             X0, X19                                                ; +0x6c, 0x100166150\nMOV             W1, #5                                                 ; +0x70, 0x100166154\nBLR             X8                                                     ; +0x74, 0x100166158\nLDR             X8, [X19]                                              ; +0x78, 0x10016615c\nLDR             X8, [X8,#0x508]                                        ; +0x7c, 0x100166160\nMOV             X0, X19                                                ; +0x80, 0x100166164\nBLR             X8                                                     ; +0x84, 0x100166168\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x10016616c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x100166170\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x100166174\nRET                                                                    ; +0x94, 0x100166178", "xrefs": ["AccountLayer::customSetup @ 0x100165994"], "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"}