{"type": "func", "start": 4297712048, "end": 4297712394, "name": "GameOptionsLayer::create", "pseudocode": "// \n// GameOptionsLayer::create from 0x10029e1b0 to 0x10029e30a (346 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:53 +0000\n// \n\nchar *__fastcall GameOptionsLayer::create(__int64 a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x470u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v1);\n  *(_OWORD *)(v1 + 1016) = 0xAFFFFFFFFuLL;\n  *((_DWORD *)v1 + 268) = 0;\n  *(_OWORD *)(v1 + 1080) = 0;\n  *(_OWORD *)(v1 + 1096) = 0;\n  *((_DWORD *)v1 + 278) = 1065353216;\n  *(_QWORD *)v1 = off_100B09098;\n  *((_QWORD *)v1 + 40) = off_100B096A0;\n  *((_QWORD *)v1 + 41) = &off_100B09710;\n  *((_QWORD *)v1 + 42) = off_100B09728;\n  *((_QWORD *)v1 + 43) = off_100B09748;\n  *((_QWORD *)v1 + 44) = off_100B09770;\n  *((_QWORD *)v1 + 51) = off_100B097A0;\n  *((_QWORD *)v1 + 54) = off_100B09820;\n  *((_QWORD *)v1 + 68) = off_100B09840;\n  *((_QWORD *)v1 + 83) = &off_100B09888;\n  *((_QWORD *)v1 + 84) = off_100B098A0;\n  *((_DWORD *)v1 + 282) = 0;\n  *((_DWORD *)v1 + 253) = 1109393408;\n  *((_QWORD *)v1 + 129) = 0x430200003ECCCCCDLL;\n  *((_QWORD *)v1 + 140) = a1;\n  if ( (unsigned __int8)GJOptionsLayer::init((__int64)v1, 2, 280.0) )\n  {\n    SetupTriggerPopup::preSetup(v1);\n    SetupTriggerPopup::postSetup(v1);\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GameOptionsLayer::create from 0x10029e1b0 to 0x10029e30a (346 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:53 +0000\n; \npush    rbp                                                            ; +0x0, 0x10029e1b0\nmov     rbp, rsp                                                       ; +0x1, 0x10029e1b1\npush    r14                                                            ; +0x4, 0x10029e1b4\npush    rbx                                                            ; +0x6, 0x10029e1b6\nmov     r14, rdi                                                       ; +0x7, 0x10029e1b7\nmov     edi, 470h; __sz                                                ; +0xa, 0x10029e1ba\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10029e1bf\nmov     rbx, rax                                                       ; +0x14, 0x10029e1c4\nmov     rdi, rax                                                       ; +0x17, 0x10029e1c7\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x1a, 0x10029e1ca\nmovsd   xmm0, cs:qword_100A069C0                                       ; +0x1f, 0x10029e1cf\nmovups  xmmword ptr [rbx+3F8h], xmm0                                   ; +0x27, 0x10029e1d7\nmov     dword ptr [rbx+430h], 0                                        ; +0x2e, 0x10029e1de\nxorps   xmm0, xmm0                                                     ; +0x38, 0x10029e1e8\nmovups  xmmword ptr [rbx+438h], xmm0                                   ; +0x3b, 0x10029e1eb\nmovups  xmmword ptr [rbx+448h], xmm0                                   ; +0x42, 0x10029e1f2\nmov     dword ptr [rbx+458h], 3F800000h                                ; +0x49, 0x10029e1f9\nlea     rax, off_100B09098                                             ; +0x53, 0x10029e203\nmov     [rbx], rax                                                     ; +0x5a, 0x10029e20a\nlea     rax, off_100B096A0                                             ; +0x5d, 0x10029e20d\nmov     [rbx+140h], rax                                                ; +0x64, 0x10029e214\nlea     rax, off_100B09710                                             ; +0x6b, 0x10029e21b\nmov     [rbx+148h], rax                                                ; +0x72, 0x10029e222\nlea     rax, off_100B09728                                             ; +0x79, 0x10029e229\nmov     [rbx+150h], rax                                                ; +0x80, 0x10029e230\nlea     rax, off_100B09748                                             ; +0x87, 0x10029e237\nmov     [rbx+158h], rax                                                ; +0x8e, 0x10029e23e\nlea     rax, off_100B09770                                             ; +0x95, 0x10029e245\nmov     [rbx+160h], rax                                                ; +0x9c, 0x10029e24c\nlea     rax, off_100B097A0                                             ; +0xa3, 0x10029e253\nmov     [rbx+198h], rax                                                ; +0xaa, 0x10029e25a\nlea     rax, off_100B09820                                             ; +0xb1, 0x10029e261\nmov     [rbx+1B0h], rax                                                ; +0xb8, 0x10029e268\nlea     rax, off_100B09840                                             ; +0xbf, 0x10029e26f\nmov     [rbx+220h], rax                                                ; +0xc6, 0x10029e276\nlea     rax, off_100B09888                                             ; +0xcd, 0x10029e27d\nmov     [rbx+298h], rax                                                ; +0xd4, 0x10029e284\nlea     rax, off_100B098A0                                             ; +0xdb, 0x10029e28b\nmov     [rbx+2A0h], rax                                                ; +0xe2, 0x10029e292\nmov     dword ptr [rbx+468h], 0                                        ; +0xe9, 0x10029e299\nmov     dword ptr [rbx+3F4h], 42200000h                                ; +0xf3, 0x10029e2a3\nmovsd   xmm0, cs:qword_100A069D0                                       ; +0xfd, 0x10029e2ad\nmovsd   qword ptr [rbx+408h], xmm0                                     ; +0x105, 0x10029e2b5\nmov     [rbx+460h], r14                                                ; +0x10d, 0x10029e2bd\nmovss   xmm0, cs:dword_100A059F4                                       ; +0x114, 0x10029e2c4\nmov     rdi, rbx                                                       ; +0x11c, 0x10029e2cc\nmov     esi, 2                                                         ; +0x11f, 0x10029e2cf\ncall    GJOptionsLayer__init                                           ; +0x124, 0x10029e2d4\ntest    al, al                                                         ; +0x129, 0x10029e2d9\njz      short loc_10029E2F7                                            ; +0x12b, 0x10029e2db\nmov     rdi, rbx                                                       ; +0x12d, 0x10029e2dd\ncall    SetupTriggerPopup__preSetup                                    ; +0x130, 0x10029e2e0\nmov     rdi, rbx                                                       ; +0x135, 0x10029e2e5\ncall    SetupTriggerPopup__postSetup                                   ; +0x138, 0x10029e2e8\nmov     rdi, rbx                                                       ; +0x13d, 0x10029e2ed\ncall    cocos2d__CCObject__autorelease                                 ; +0x140, 0x10029e2f0\njmp     short loc_10029E302                                            ; +0x145, 0x10029e2f5\nmov     rax, [rbx]                                                     ; +0x147, 0x10029e2f7\nmov     rdi, rbx                                                       ; +0x14a, 0x10029e2fa\ncall    qword ptr [rax+10h]                                            ; +0x14d, 0x10029e2fd\nxor     ebx, ebx                                                       ; +0x150, 0x10029e300\nmov     rax, rbx                                                       ; +0x152, 0x10029e302\npop     rbx                                                            ; +0x155, 0x10029e305\npop     r14                                                            ; +0x156, 0x10029e306\npop     rbp                                                            ; +0x158, 0x10029e308\nretn                                                                   ; +0x159, 0x10029e309", "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"}