{"type": "func", "start": 4297622368, "end": 4297622689, "name": "EditorOptionsLayer::create", "pseudocode": "// \n// EditorOptionsLayer::create from 0x100288360 to 0x1002884a1 (321 bytes)\n// \n// 0 xrefs:\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 12:27:46 +0000\n// \n\nchar *EditorOptionsLayer::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x478u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v0);\n  *(_OWORD *)(v0 + 1016) = 0xAFFFFFFFFuLL;\n  *((_DWORD *)v0 + 268) = 0;\n  *(_OWORD *)(v0 + 1080) = 0;\n  *(_OWORD *)(v0 + 1096) = 0;\n  *((_DWORD *)v0 + 278) = 1065353216;\n  *(_QWORD *)v0 = off_100B05C48;\n  *((_QWORD *)v0 + 40) = off_100B06250;\n  *((_QWORD *)v0 + 41) = &off_100B062C0;\n  *((_QWORD *)v0 + 42) = off_100B062D8;\n  *((_QWORD *)v0 + 43) = off_100B062F8;\n  *((_QWORD *)v0 + 44) = off_100B06320;\n  *((_QWORD *)v0 + 51) = off_100B06350;\n  *((_QWORD *)v0 + 54) = off_100B063D0;\n  *((_QWORD *)v0 + 68) = off_100B063F0;\n  *((_QWORD *)v0 + 83) = &off_100B06438;\n  *((_QWORD *)v0 + 84) = off_100B06450;\n  *((_QWORD *)v0 + 140) = 0;\n  *((_DWORD *)v0 + 253) = 1108344832;\n  *((_QWORD *)v0 + 129) = 0x430200003ECCCCCDLL;\n  if ( (unsigned __int8)GJOptionsLayer::init((__int64)v0, 1, 280.0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; EditorOptionsLayer::create from 0x100288360 to 0x1002884a1 (321 bytes)\n; \n; 0 xrefs:\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 12:27:46 +0000\n; \npush    rbp                                                            ; +0x0, 0x100288360\nmov     rbp, rsp                                                       ; +0x1, 0x100288361\npush    r14                                                            ; +0x4, 0x100288364\npush    rbx                                                            ; +0x6, 0x100288366\nmov     edi, 478h; __sz                                                ; +0x7, 0x100288367\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10028836c\nmov     rbx, rax                                                       ; +0x11, 0x100288371\nmov     rdi, rax                                                       ; +0x14, 0x100288374\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x17, 0x100288377\nmovsd   xmm0, cs:qword_100A069C0                                       ; +0x1c, 0x10028837c\nmovups  xmmword ptr [rbx+3F8h], xmm0                                   ; +0x24, 0x100288384\nmov     dword ptr [rbx+430h], 0                                        ; +0x2b, 0x10028838b\nxorps   xmm0, xmm0                                                     ; +0x35, 0x100288395\nmovups  xmmword ptr [rbx+438h], xmm0                                   ; +0x38, 0x100288398\nmovups  xmmword ptr [rbx+448h], xmm0                                   ; +0x3f, 0x10028839f\nmov     dword ptr [rbx+458h], 3F800000h                                ; +0x46, 0x1002883a6\nlea     rax, off_100B05C48                                             ; +0x50, 0x1002883b0\nmov     [rbx], rax                                                     ; +0x57, 0x1002883b7\nlea     rax, off_100B06250                                             ; +0x5a, 0x1002883ba\nmov     [rbx+140h], rax                                                ; +0x61, 0x1002883c1\nlea     rax, off_100B062C0                                             ; +0x68, 0x1002883c8\nmov     [rbx+148h], rax                                                ; +0x6f, 0x1002883cf\nlea     rax, off_100B062D8                                             ; +0x76, 0x1002883d6\nmov     [rbx+150h], rax                                                ; +0x7d, 0x1002883dd\nlea     rax, off_100B062F8                                             ; +0x84, 0x1002883e4\nmov     [rbx+158h], rax                                                ; +0x8b, 0x1002883eb\nlea     rax, off_100B06320                                             ; +0x92, 0x1002883f2\nmov     [rbx+160h], rax                                                ; +0x99, 0x1002883f9\nlea     rax, off_100B06350                                             ; +0xa0, 0x100288400\nmov     [rbx+198h], rax                                                ; +0xa7, 0x100288407\nlea     rax, off_100B063D0                                             ; +0xae, 0x10028840e\nmov     [rbx+1B0h], rax                                                ; +0xb5, 0x100288415\nlea     rax, off_100B063F0                                             ; +0xbc, 0x10028841c\nmov     [rbx+220h], rax                                                ; +0xc3, 0x100288423\nlea     rax, off_100B06438                                             ; +0xca, 0x10028842a\nmov     [rbx+298h], rax                                                ; +0xd1, 0x100288431\nlea     rax, off_100B06450                                             ; +0xd8, 0x100288438\nmov     [rbx+2A0h], rax                                                ; +0xdf, 0x10028843f\nmov     qword ptr [rbx+460h], 0                                        ; +0xe6, 0x100288446\nmov     dword ptr [rbx+3F4h], 42100000h                                ; +0xf1, 0x100288451\nmovsd   xmm0, cs:qword_100A069D0                                       ; +0xfb, 0x10028845b\nmovsd   qword ptr [rbx+408h], xmm0                                     ; +0x103, 0x100288463\nmovss   xmm0, cs:dword_100A059F4                                       ; +0x10b, 0x10028846b\nmov     rdi, rbx                                                       ; +0x113, 0x100288473\nmov     esi, 1                                                         ; +0x116, 0x100288476\ncall    GJOptionsLayer__init                                           ; +0x11b, 0x10028847b\ntest    al, al                                                         ; +0x120, 0x100288480\njz      short loc_10028848E                                            ; +0x122, 0x100288482\nmov     rdi, rbx                                                       ; +0x124, 0x100288484\ncall    cocos2d__CCObject__autorelease                                 ; +0x127, 0x100288487\njmp     short loc_100288499                                            ; +0x12c, 0x10028848c\nmov     rax, [rbx]                                                     ; +0x12e, 0x10028848e\nmov     rdi, rbx                                                       ; +0x131, 0x100288491\ncall    qword ptr [rax+10h]                                            ; +0x134, 0x100288494\nxor     ebx, ebx                                                       ; +0x137, 0x100288497\nmov     rax, rbx                                                       ; +0x139, 0x100288499\npop     rbx                                                            ; +0x13c, 0x10028849c\npop     r14                                                            ; +0x13d, 0x10028849d\npop     rbp                                                            ; +0x13f, 0x10028849f\nretn                                                                   ; +0x140, 0x1002884a0", "xrefs": [], "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"}