{"type": "func", "start": 5369598336, "end": 5369598621, "name": "EditLevelLayer::onHelp", "pseudocode": "// \n// EditLevelLayer::onHelp from 0x1400d9180 to 0x1400d929d (285 bytes)\n// \n// 2 xrefs:\n// > EditLevelLayer::init @ 0x1400d6166\n// > <???> @ 0x1406c8844\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 EditLevelLayer::onHelp(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebx\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v2 = (_DWORD)a1 + 416;\n  if ( !a1 )\n    v2 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003AA10(0x30u);\n  v6 = 41;\n  v7 = 47;\n  strcpy((char *)v5, \"Do you want to open the editor guide now?\");\n  v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n  v4 = FLAlertLayer::create(\n         v2,\n         (int)\"Editor Guide\",\n         v3,\n         (__int64)&unk_140547160,\n         (__int64)\"YES\",\n         1133903872,\n         0,\n         0,\n         1065353216);\n  sub_14003A830((__int64)&v5);\n  v4->setTag(v4, 6);\n  v4->show(v4);\n}", "assembly": "; \n; EditLevelLayer::onHelp from 0x1400d9180 to 0x1400d929d (285 bytes)\n; \n; 2 xrefs:\n; > EditLevelLayer::init @ 0x1400d6166\n; > <???> @ 0x1406c8844\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    rbx                                                            ; +0x0, 0x1400d9180\nsub     rsp, 90h                                                       ; +0x2, 0x1400d9182\nlea     rbx, [rcx+1A0h]                                                ; +0x9, 0x1400d9189\nxor     eax, eax                                                       ; +0x10, 0x1400d9190\ntest    rcx, rcx                                                       ; +0x12, 0x1400d9192\ncmovz   rbx, rax                                                       ; +0x15, 0x1400d9195\nxorps   xmm0, xmm0                                                     ; +0x19, 0x1400d9199\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x1400d919c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x1400d91a1\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x26, 0x1400d91a6\nlea     ecx, [rax+30h]                                                 ; +0x2f, 0x1400d91af\ncall    sub_14003AA10                                                  ; +0x32, 0x1400d91b2\nmov     rcx, rax                                                       ; +0x37, 0x1400d91b7\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x3a, 0x1400d91ba\nmov     [rsp+98h+var_38], 29h ; ')'                                    ; +0x3f, 0x1400d91bf\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x48, 0x1400d91c8\nmovups  xmm0, cs:xmmword_1405516A8                                     ; +0x51, 0x1400d91d1\nmovups  xmmword ptr [rax], xmm0                                        ; +0x58, 0x1400d91d8\nmovups  xmm1, cs:xmmword_1405516B8                                     ; +0x5b, 0x1400d91db\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x62, 0x1400d91e2\nmovsd   xmm0, cs:qword_1405516C8                                       ; +0x66, 0x1400d91e6\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x6e, 0x1400d91ee\nmovzx   eax, cs:byte_1405516D0                                         ; +0x73, 0x1400d91f3\nmov     [rcx+28h], al                                                  ; +0x7a, 0x1400d91fa\nmov     byte ptr [rcx+29h], 0                                          ; +0x7d, 0x1400d91fd\nlea     rax, [rsp+98h+var_48]                                          ; +0x81, 0x1400d9201\nmov     [rsp+98h+arg_0], rax                                           ; +0x86, 0x1400d9206\nlea     rdx, [rsp+98h+var_48]                                          ; +0x8e, 0x1400d920e\nlea     rcx, [rsp+98h+var_28]                                          ; +0x93, 0x1400d9213\ncall    sub_14003BDB0                                                  ; +0x98, 0x1400d9218\nmovss   xmm0, cs:flt_140622C24                                         ; +0x9d, 0x1400d921d\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xa5, 0x1400d9225\nxorps   xmm1, xmm1                                                     ; +0xab, 0x1400d922b\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xae, 0x1400d922e\nmov     [rsp+98h+var_68], 0                                            ; +0xb4, 0x1400d9234\nmovss   xmm0, cs:dword_14062343C                                       ; +0xb9, 0x1400d9239\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xc1, 0x1400d9241\nlea     rcx, aYes_0; \"YES\"                                             ; +0xc7, 0x1400d9247\nmov     [rsp+98h+var_78], rcx                                          ; +0xce, 0x1400d924e\nlea     r9, unk_140547160                                              ; +0xd3, 0x1400d9253\nmov     r8, rax                                                        ; +0xda, 0x1400d925a\nlea     rdx, aEditorGuide; \"Editor Guide\"                              ; +0xdd, 0x1400d925d\nmov     rcx, rbx                                                       ; +0xe4, 0x1400d9264\ncall    FLAlertLayer__create                                           ; +0xe7, 0x1400d9267\nmov     rbx, rax                                                       ; +0xec, 0x1400d926c\nlea     rcx, [rsp+98h+var_48]                                          ; +0xef, 0x1400d926f\ncall    sub_14003A830                                                  ; +0xf4, 0x1400d9274\nmov     r8, [rbx]                                                      ; +0xf9, 0x1400d9279\nmov     edx, 6                                                         ; +0xfc, 0x1400d927c\nmov     rcx, rbx                                                       ; +0x101, 0x1400d9281\ncall    qword ptr [r8+40h]                                             ; +0x104, 0x1400d9284\nmov     rdx, [rbx]                                                     ; +0x108, 0x1400d9288\nmov     rcx, rbx                                                       ; +0x10b, 0x1400d928b\ncall    qword ptr [rdx+410h]                                           ; +0x10e, 0x1400d928e\nadd     rsp, 90h                                                       ; +0x114, 0x1400d9294\npop     rbx                                                            ; +0x11b, 0x1400d929b\nretn                                                                   ; +0x11c, 0x1400d929c", "xrefs": ["EditLevelLayer::init @ 0x1400d6166", "<???> @ 0x1406c8844"], "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"}