{"type": "func", "start": 4297714400, "end": 4297714655, "name": "GameOptionsLayer::onUIOptions", "pseudocode": "// \n// GameOptionsLayer::onUIOptions from 0x10029eae0 to 0x10029ebdf (255 bytes)\n// \n// 1 xrefs:\n// > GameOptionsLayer::setupOptions @ 0x10029e933\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:54 +0000\n// \n\n__int64 GameOptionsLayer::onUIOptions()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x428u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v0);\n  *(_QWORD *)v0 = off_100B09910;\n  *((_QWORD *)v0 + 40) = off_100B09F00;\n  *((_QWORD *)v0 + 41) = &off_100B09F70;\n  *((_QWORD *)v0 + 42) = off_100B09F88;\n  *((_QWORD *)v0 + 43) = off_100B09FA8;\n  *((_QWORD *)v0 + 44) = off_100B09FD0;\n  *((_QWORD *)v0 + 51) = off_100B0A000;\n  *((_QWORD *)v0 + 54) = off_100B0A080;\n  *((_QWORD *)v0 + 68) = off_100B0A0A0;\n  *((_QWORD *)v0 + 83) = &off_100B0A0E8;\n  *((_QWORD *)v0 + 84) = off_100B0A100;\n  v0[1012] = 0;\n  *(_OWORD *)(v0 + 1016) = 0;\n  *(_OWORD *)(v0 + 1032) = 0;\n  *(_OWORD *)(v0 + 1044) = 0;\n  if ( !(unsigned __int8)UIOptionsLayer::init(v0, 0) )\n    sub_1009A64D0(v0);\n  cocos2d::CCObject::autorelease(v0);\n  return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v0 + 1312LL))(v0);\n}", "assembly": "; \n; GameOptionsLayer::onUIOptions from 0x10029eae0 to 0x10029ebdf (255 bytes)\n; \n; 1 xrefs:\n; > GameOptionsLayer::setupOptions @ 0x10029e933\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:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x10029eae0\nmov     rbp, rsp                                                       ; +0x1, 0x10029eae1\npush    r14                                                            ; +0x4, 0x10029eae4\npush    rbx                                                            ; +0x6, 0x10029eae6\nmov     edi, 428h; __sz                                                ; +0x7, 0x10029eae7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10029eaec\nmov     rbx, rax                                                       ; +0x11, 0x10029eaf1\nmov     rdi, rax                                                       ; +0x14, 0x10029eaf4\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x17, 0x10029eaf7\nlea     rax, off_100B09910                                             ; +0x1c, 0x10029eafc\nmov     [rbx], rax                                                     ; +0x23, 0x10029eb03\nlea     rax, off_100B09F00                                             ; +0x26, 0x10029eb06\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10029eb0d\nlea     rax, off_100B09F70                                             ; +0x34, 0x10029eb14\nmov     [rbx+148h], rax                                                ; +0x3b, 0x10029eb1b\nlea     rax, off_100B09F88                                             ; +0x42, 0x10029eb22\nmov     [rbx+150h], rax                                                ; +0x49, 0x10029eb29\nlea     rax, off_100B09FA8                                             ; +0x50, 0x10029eb30\nmov     [rbx+158h], rax                                                ; +0x57, 0x10029eb37\nlea     rax, off_100B09FD0                                             ; +0x5e, 0x10029eb3e\nmov     [rbx+160h], rax                                                ; +0x65, 0x10029eb45\nlea     rax, off_100B0A000                                             ; +0x6c, 0x10029eb4c\nmov     [rbx+198h], rax                                                ; +0x73, 0x10029eb53\nlea     rax, off_100B0A080                                             ; +0x7a, 0x10029eb5a\nmov     [rbx+1B0h], rax                                                ; +0x81, 0x10029eb61\nlea     rax, off_100B0A0A0                                             ; +0x88, 0x10029eb68\nmov     [rbx+220h], rax                                                ; +0x8f, 0x10029eb6f\nlea     rax, off_100B0A0E8                                             ; +0x96, 0x10029eb76\nmov     [rbx+298h], rax                                                ; +0x9d, 0x10029eb7d\nlea     rax, off_100B0A100                                             ; +0xa4, 0x10029eb84\nmov     [rbx+2A0h], rax                                                ; +0xab, 0x10029eb8b\nmov     byte ptr [rbx+3F4h], 0                                         ; +0xb2, 0x10029eb92\nxorps   xmm0, xmm0                                                     ; +0xb9, 0x10029eb99\nmovups  xmmword ptr [rbx+3F8h], xmm0                                   ; +0xbc, 0x10029eb9c\nmovups  xmmword ptr [rbx+408h], xmm0                                   ; +0xc3, 0x10029eba3\nmovups  xmmword ptr [rbx+414h], xmm0                                   ; +0xca, 0x10029ebaa\nmov     rdi, rbx                                                       ; +0xd1, 0x10029ebb1\nxor     esi, esi                                                       ; +0xd4, 0x10029ebb4\ncall    UIOptionsLayer__init                                           ; +0xd6, 0x10029ebb6\ntest    al, al                                                         ; +0xdb, 0x10029ebbb\njz      short loc_10029EBD7                                            ; +0xdd, 0x10029ebbd\nmov     rdi, rbx                                                       ; +0xdf, 0x10029ebbf\ncall    cocos2d__CCObject__autorelease                                 ; +0xe2, 0x10029ebc2\nmov     rax, [rbx]                                                     ; +0xe7, 0x10029ebc7\nmov     rdi, rbx                                                       ; +0xea, 0x10029ebca\npop     rbx                                                            ; +0xed, 0x10029ebcd\npop     r14                                                            ; +0xee, 0x10029ebce\npop     rbp                                                            ; +0xf0, 0x10029ebd0\njmp     qword ptr [rax+520h]                                           ; +0xf1, 0x10029ebd1\nmov     rdi, rbx                                                       ; +0xf7, 0x10029ebd7\ncall    sub_1009A64D0                                                  ; +0xfa, 0x10029ebda", "xrefs": ["GameOptionsLayer::setupOptions @ 0x10029e933"], "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"}