{"type": "func", "start": 5372484800, "end": 5372485039, "name": "GameLevelOptionsLayer::dGameLevelOptionsLayer", "pseudocode": "// \n// GameLevelOptionsLayer::dGameLevelOptionsLayer from 0x140399cc0 to 0x140399daf (239 bytes)\n// \n// 3 xrefs:\n// > sub_1403AC4E0 @ 0x1403ac4e7\n// > <???> @ 0x14077e158\n// > <???> @ 0x140923270\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 11:31:14 +0000\n// \n\n_QWORD *__fastcall GameLevelOptionsLayer::dGameLevelOptionsLayer(_QWORD *Block, char a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  *Block = &GameLevelOptionsLayer::`vftable';\n  Block[40] = &GameLevelOptionsLayer::`vftable';\n  Block[41] = &GameLevelOptionsLayer::`vftable';\n  Block[42] = &GameLevelOptionsLayer::`vftable';\n  Block[43] = &GameLevelOptionsLayer::`vftable';\n  Block[44] = &GameLevelOptionsLayer::`vftable';\n  Block[51] = &GameLevelOptionsLayer::`vftable';\n  Block[54] = &GameLevelOptionsLayer::`vftable';\n  Block[68] = &GameLevelOptionsLayer::`vftable';\n  Block[83] = &GameLevelOptionsLayer::`vftable';\n  Block[84] = &GameLevelOptionsLayer::`vftable';\n  Block[142] = &GameLevelOptionsLayer::`vftable';\n  v4 = (cocos2d::CCObject *)Block[143];\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  GJOptionsLayer::dGJOptionsLayer(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; GameLevelOptionsLayer::dGameLevelOptionsLayer from 0x140399cc0 to 0x140399daf (239 bytes)\n; \n; 3 xrefs:\n; > sub_1403AC4E0 @ 0x1403ac4e7\n; > <???> @ 0x14077e158\n; > <???> @ 0x140923270\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 11:31:14 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140399cc0\npush    rdi                                                            ; +0x5, 0x140399cc5\nsub     rsp, 20h                                                       ; +0x6, 0x140399cc6\nmov     edi, edx                                                       ; +0xa, 0x140399cca\nmov     rbx, rcx                                                       ; +0xc, 0x140399ccc\nlea     rax, ??_7GameLevelOptionsLayer@@6B@; const GameLevelOptionsLayer::`vftable' ; +0xf, 0x140399ccf\nmov     [rcx], rax                                                     ; +0x16, 0x140399cd6\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_0; const GameLevelOptionsLayer::`vftable' ; +0x19, 0x140399cd9\nmov     [rcx+140h], rax                                                ; +0x20, 0x140399ce0\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_1; const GameLevelOptionsLayer::`vftable' ; +0x27, 0x140399ce7\nmov     [rcx+148h], rax                                                ; +0x2e, 0x140399cee\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_2; const GameLevelOptionsLayer::`vftable' ; +0x35, 0x140399cf5\nmov     [rcx+150h], rax                                                ; +0x3c, 0x140399cfc\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_3; const GameLevelOptionsLayer::`vftable' ; +0x43, 0x140399d03\nmov     [rcx+158h], rax                                                ; +0x4a, 0x140399d0a\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_4; const GameLevelOptionsLayer::`vftable' ; +0x51, 0x140399d11\nmov     [rcx+160h], rax                                                ; +0x58, 0x140399d18\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_5; const GameLevelOptionsLayer::`vftable' ; +0x5f, 0x140399d1f\nmov     [rcx+198h], rax                                                ; +0x66, 0x140399d26\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_6; const GameLevelOptionsLayer::`vftable' ; +0x6d, 0x140399d2d\nmov     [rcx+1B0h], rax                                                ; +0x74, 0x140399d34\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_7; const GameLevelOptionsLayer::`vftable' ; +0x7b, 0x140399d3b\nmov     [rcx+220h], rax                                                ; +0x82, 0x140399d42\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_8; const GameLevelOptionsLayer::`vftable' ; +0x89, 0x140399d49\nmov     [rcx+298h], rax                                                ; +0x90, 0x140399d50\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_9; const GameLevelOptionsLayer::`vftable' ; +0x97, 0x140399d57\nmov     [rcx+2A0h], rax                                                ; +0x9e, 0x140399d5e\nlea     rax, ??_7GameLevelOptionsLayer@@6B@_10; const GameLevelOptionsLayer::`vftable' ; +0xa5, 0x140399d65\nmov     [rcx+470h], rax                                                ; +0xac, 0x140399d6c\nmov     rcx, [rcx+478h]                                                ; +0xb3, 0x140399d73\ntest    rcx, rcx                                                       ; +0xba, 0x140399d7a\njz      short loc_140399D85                                            ; +0xbd, 0x140399d7d\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xbf, 0x140399d7f\nmov     rcx, rbx                                                       ; +0xc5, 0x140399d85\ncall    GJOptionsLayer__dGJOptionsLayer; Merged with: GJOptionsLayer::~GJOptionsLayer, FindObjectOptionsLayer::~FindObjectOptionsLayer, SFXSettingsPopup::~SFXSettingsPopup ; +0xc8, 0x140399d88\nnop                                                                    ; +0xcd, 0x140399d8d\ntest    dil, 1                                                         ; +0xce, 0x140399d8e\njz      short loc_140399DA1                                            ; +0xd2, 0x140399d92\nmov     edx, 480h                                                      ; +0xd4, 0x140399d94\nmov     rcx, rbx; Block                                                ; +0xd9, 0x140399d99\ncall    j_j_free                                                       ; +0xdc, 0x140399d9c\nmov     rax, rbx                                                       ; +0xe1, 0x140399da1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xe4, 0x140399da4\nadd     rsp, 20h                                                       ; +0xe9, 0x140399da9\npop     rdi                                                            ; +0xed, 0x140399dad\nretn                                                                   ; +0xee, 0x140399dae", "xrefs": ["sub_1403AC4E0 @ 0x1403ac4e7", "<???> @ 0x14077e158", "<???> @ 0x140923270"], "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"}