{"type": "func", "start": 4297051424, "end": 4297051601, "name": "EditLevelLayer::onHelp", "pseudocode": "// \n// EditLevelLayer::onHelp from 0x1001fcd20 to 0x1001fcdd1 (177 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001fb4dd\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 EditLevelLayer::onHelp(EditLevelLayer *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(0x30u);\n  v3[0] = 49;\n  v3[1] = 41;\n  strcpy((char *)__p, \"Do you want to open the editor guide now?\");\n  v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Editor Guide\", v3, \"NO\", \"YES\", 300.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 6);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; EditLevelLayer::onHelp from 0x1001fcd20 to 0x1001fcdd1 (177 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001fb4dd\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, 0x1001fcd20\nmov     rbp, rsp                                                       ; +0x1, 0x1001fcd21\npush    rbx                                                            ; +0x4, 0x1001fcd24\nsub     rsp, 18h                                                       ; +0x5, 0x1001fcd25\nmov     rbx, rdi                                                       ; +0x9, 0x1001fcd29\nadd     rbx, 1A0h                                                      ; +0xc, 0x1001fcd2c\nmov     edi, 30h ; '0'; __sz                                           ; +0x13, 0x1001fcd33\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1001fcd38\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1001fcd3d\nmov     [rbp+var_20], 31h ; '1'                                        ; +0x21, 0x1001fcd41\nmov     [rbp+var_18], 29h ; ')'                                        ; +0x29, 0x1001fcd49\nmovups  xmm0, xmmword ptr cs:aDoYouWantToOpe+19h; \"ditor guide now?\"   ; +0x31, 0x1001fcd51\nmovups  xmmword ptr [rax+19h], xmm0                                    ; +0x38, 0x1001fcd58\nmovups  xmm0, xmmword ptr cs:aDoYouWantToOpe+10h; \"pen the editor guide now?\" ; +0x3c, 0x1001fcd5c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x43, 0x1001fcd63\nmovups  xmm0, xmmword ptr cs:aDoYouWantToOpe; \"Do you want to open the editor guide no\"... ; +0x47, 0x1001fcd67\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4e, 0x1001fcd6e\nmov     byte ptr [rax+29h], 0                                          ; +0x51, 0x1001fcd71\nlea     rsi, aEditorGuide; \"Editor Guide\"                              ; +0x55, 0x1001fcd75\nlea     rcx, aNo; \"NO\"                                                 ; +0x5c, 0x1001fcd7c\nlea     r8, aYes_0; \"YES\"                                              ; +0x63, 0x1001fcd83\nlea     rdx, [rbp+var_20]                                              ; +0x6a, 0x1001fcd8a\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x6e, 0x1001fcd8e\nmov     rdi, rbx                                                       ; +0x76, 0x1001fcd96\ncall    FLAlertLayer__create_1                                         ; +0x79, 0x1001fcd99\nmov     rbx, rax                                                       ; +0x7e, 0x1001fcd9e\ntest    byte ptr [rbp+var_20], 1                                       ; +0x81, 0x1001fcda1\njz      short loc_1001FCDB0                                            ; +0x85, 0x1001fcda5\nmov     rdi, [rbp+__p]; __p                                            ; +0x87, 0x1001fcda7\ncall    __ZdlPv; operator delete(void *)                               ; +0x8b, 0x1001fcdab\nmov     rax, [rbx]                                                     ; +0x90, 0x1001fcdb0\nmov     rdi, rbx                                                       ; +0x93, 0x1001fcdb3\nmov     esi, 6                                                         ; +0x96, 0x1001fcdb6\ncall    qword ptr [rax+48h]                                            ; +0x9b, 0x1001fcdbb\nmov     rax, [rbx]                                                     ; +0x9e, 0x1001fcdbe\nmov     rdi, rbx                                                       ; +0xa1, 0x1001fcdc1\ncall    qword ptr [rax+508h]                                           ; +0xa4, 0x1001fcdc4\nadd     rsp, 18h                                                       ; +0xaa, 0x1001fcdca\npop     rbx                                                            ; +0xae, 0x1001fcdce\npop     rbp                                                            ; +0xaf, 0x1001fcdcf\nretn                                                                   ; +0xb0, 0x1001fcdd0", "xrefs": ["EditLevelLayer::init @ 0x1001fb4dd"], "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"}