{"type": "func", "start": 5370294032, "end": 5370294344, "name": "EditorPauseLayer::onHelp", "pseudocode": "// \n// EditorPauseLayer::onHelp from 0x140182f10 to 0x140183048 (312 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::customSetup @ 0x140181ba0\n// > <???> @ 0x140918ca4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:37 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorPauseLayer::onHelp(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v4; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v5; // [rsp+60h] [rbp-38h]\n  __int64 v6; // [rsp+68h] [rbp-30h]\n  _BYTE v7[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 568) )\n  {\n    v1 = a1 + 552;\n    if ( !a1 )\n      v1 = 0;\n    v4 = 0;\n    *(_QWORD *)&v4 = sub_14003D460(0x30u);\n    v5 = 46;\n    v6 = 47;\n    strcpy((char *)v4, \"Open the <cy>Editor Guide</c> in your browser?\");\n    v2 = sub_14003F4F0((__int64)v7, (__int64)&v4);\n    v3 = FLAlertLayer::create(\n           v1,\n           (int)\"Editor Guide\",\n           v2,\n           (__int64)&unk_14073A058,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003D310((__int64)&v4);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 4);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; EditorPauseLayer::onHelp from 0x140182f10 to 0x140183048 (312 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::customSetup @ 0x140181ba0\n; > <???> @ 0x140918ca4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x140182f10\nsub     rsp, 90h                                                       ; +0x2, 0x140182f12\ncmp     byte ptr [rcx+238h], 0                                         ; +0x9, 0x140182f19\njnz     loc_14018303F                                                  ; +0x10, 0x140182f20\nlea     rbx, [rcx+228h]                                                ; +0x16, 0x140182f26\nxor     eax, eax                                                       ; +0x1d, 0x140182f2d\ntest    rcx, rcx                                                       ; +0x1f, 0x140182f2f\ncmovz   rbx, rax                                                       ; +0x22, 0x140182f32\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140182f36\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x140182f39\nmov     [rsp+98h+var_38], rax                                          ; +0x2e, 0x140182f3e\nmov     [rsp+98h+var_30], rax                                          ; +0x33, 0x140182f43\nmov     ecx, 30h ; '0'                                                 ; +0x38, 0x140182f48\ncall    sub_14003D460                                                  ; +0x3d, 0x140182f4d\nmov     rdx, rax                                                       ; +0x42, 0x140182f52\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x45, 0x140182f55\nmov     [rsp+98h+var_38], 2Eh ; '.'                                    ; +0x4a, 0x140182f5a\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x53, 0x140182f63\nmovups  xmm0, cs:xmmword_14074A598                                     ; +0x5c, 0x140182f6c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x63, 0x140182f73\nmovups  xmm1, cs:xmmword_14074A5A8                                     ; +0x66, 0x140182f76\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6d, 0x140182f7d\nmovsd   xmm0, cs:qword_14074A5B8                                       ; +0x71, 0x140182f81\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x79, 0x140182f89\nmov     ecx, cs:dword_14074A5C0                                        ; +0x7e, 0x140182f8e\nmov     [rax+28h], ecx                                                 ; +0x84, 0x140182f94\nmovzx   eax, cs:word_14074A5C4                                         ; +0x87, 0x140182f97\nmov     [rdx+2Ch], ax                                                  ; +0x8e, 0x140182f9e\nmov     byte ptr [rdx+2Eh], 0                                          ; +0x92, 0x140182fa2\nlea     rax, [rsp+98h+var_48]                                          ; +0x96, 0x140182fa6\nmov     [rsp+98h+arg_0], rax                                           ; +0x9b, 0x140182fab\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa3, 0x140182fb3\nlea     rcx, [rsp+98h+var_28]                                          ; +0xa8, 0x140182fb8\ncall    sub_14003F4F0                                                  ; +0xad, 0x140182fbd\nmovss   xmm0, cs:flt_140835080                                         ; +0xb2, 0x140182fc2\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xba, 0x140182fca\nxorps   xmm1, xmm1                                                     ; +0xc0, 0x140182fd0\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc3, 0x140182fd3\nmov     [rsp+98h+var_68], 0                                            ; +0xc9, 0x140182fd9\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xce, 0x140182fde\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xd6, 0x140182fe6\nlea     rcx, aYes_0; \"YES\"                                             ; +0xdc, 0x140182fec\nmov     [rsp+98h+var_78], rcx                                          ; +0xe3, 0x140182ff3\nlea     r9, unk_14073A058                                              ; +0xe8, 0x140182ff8\nmov     r8, rax                                                        ; +0xef, 0x140182fff\nlea     rdx, aEditorGuide; \"Editor Guide\"                              ; +0xf2, 0x140183002\nmov     rcx, rbx                                                       ; +0xf9, 0x140183009\ncall    FLAlertLayer__create                                           ; +0xfc, 0x14018300c\nmov     rbx, rax                                                       ; +0x101, 0x140183011\nlea     rcx, [rsp+98h+var_48]                                          ; +0x104, 0x140183014\ncall    sub_14003D310                                                  ; +0x109, 0x140183019\nmov     rcx, [rbx]                                                     ; +0x10e, 0x14018301e\nmov     r8, [rcx+40h]                                                  ; +0x111, 0x140183021\nmov     edx, 4                                                         ; +0x115, 0x140183025\nmov     rcx, rbx                                                       ; +0x11a, 0x14018302a\ncall    r8                                                             ; +0x11d, 0x14018302d\nmov     rcx, [rbx]                                                     ; +0x120, 0x140183030\nmov     rdx, [rcx+428h]                                                ; +0x123, 0x140183033\nmov     rcx, rbx                                                       ; +0x12a, 0x14018303a\ncall    rdx                                                            ; +0x12d, 0x14018303d\nadd     rsp, 90h                                                       ; +0x12f, 0x14018303f\npop     rbx                                                            ; +0x136, 0x140183046\nretn                                                                   ; +0x137, 0x140183047", "xrefs": ["EditorPauseLayer::customSetup @ 0x140181ba0", "<???> @ 0x140918ca4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}