{"type": "func", "start": 5371602224, "end": 5371602491, "name": "GameSettingsLayer::dGameSettingsLayer", "pseudocode": "// \n// GameSettingsLayer::dGameSettingsLayer from 0x1402c2530 to 0x1402c263b (267 bytes)\n// \n// 3 xrefs:\n// > sub_1402C8C60 @ 0x1402c8c67\n// > <???> @ 0x140765df0\n// > <???> @ 0x14091db7c\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:29:20 +0000\n// \n\nvoid *__fastcall GameSettingsLayer::dGameSettingsLayer(void *Block, char a2)\n{\n  *(_QWORD *)Block = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 40) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 41) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 42) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 43) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 44) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 51) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 54) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 68) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 83) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 84) = &GameSettingsLayer::`vftable';\n  *((_QWORD *)Block + 134) = &GameSettingsLayer::`vftable';\n  sub_14003EA90((_QWORD *)Block + 139);\n  sub_1400665B0((void **)Block + 137);\n  sub_14019EF40((__int64 *)Block + 128);\n  sub_14019F010((__int64 *)Block + 125);\n  SetupTriggerPopup::dSetupTriggerPopup(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; GameSettingsLayer::dGameSettingsLayer from 0x1402c2530 to 0x1402c263b (267 bytes)\n; \n; 3 xrefs:\n; > sub_1402C8C60 @ 0x1402c8c67\n; > <???> @ 0x140765df0\n; > <???> @ 0x14091db7c\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:29:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402c2530\npush    rdi                                                            ; +0x5, 0x1402c2535\nsub     rsp, 20h                                                       ; +0x6, 0x1402c2536\nlea     rax, ??_7GameSettingsLayer@@6B@; const GameSettingsLayer::`vftable' ; +0xa, 0x1402c253a\nmov     rdi, rcx                                                       ; +0x11, 0x1402c2541\nmov     [rcx], rax                                                     ; +0x14, 0x1402c2544\nmov     ebx, edx                                                       ; +0x17, 0x1402c2547\nlea     rax, ??_7GameSettingsLayer@@6B@_0; const GameSettingsLayer::`vftable' ; +0x19, 0x1402c2549\nmov     [rcx+140h], rax                                                ; +0x20, 0x1402c2550\nlea     rax, ??_7GameSettingsLayer@@6B@_1; const GameSettingsLayer::`vftable' ; +0x27, 0x1402c2557\nmov     [rcx+148h], rax                                                ; +0x2e, 0x1402c255e\nlea     rax, ??_7GameSettingsLayer@@6B@_2; const GameSettingsLayer::`vftable' ; +0x35, 0x1402c2565\nmov     [rcx+150h], rax                                                ; +0x3c, 0x1402c256c\nlea     rax, ??_7GameSettingsLayer@@6B@_3; const GameSettingsLayer::`vftable' ; +0x43, 0x1402c2573\nmov     [rcx+158h], rax                                                ; +0x4a, 0x1402c257a\nlea     rax, ??_7GameSettingsLayer@@6B@_4; const GameSettingsLayer::`vftable' ; +0x51, 0x1402c2581\nmov     [rcx+160h], rax                                                ; +0x58, 0x1402c2588\nlea     rax, ??_7GameSettingsLayer@@6B@_5; const GameSettingsLayer::`vftable' ; +0x5f, 0x1402c258f\nmov     [rcx+198h], rax                                                ; +0x66, 0x1402c2596\nlea     rax, ??_7GameSettingsLayer@@6B@_6; const GameSettingsLayer::`vftable' ; +0x6d, 0x1402c259d\nmov     [rcx+1B0h], rax                                                ; +0x74, 0x1402c25a4\nlea     rax, ??_7GameSettingsLayer@@6B@_7; const GameSettingsLayer::`vftable' ; +0x7b, 0x1402c25ab\nmov     [rcx+220h], rax                                                ; +0x82, 0x1402c25b2\nlea     rax, ??_7GameSettingsLayer@@6B@_8; const GameSettingsLayer::`vftable' ; +0x89, 0x1402c25b9\nmov     [rcx+298h], rax                                                ; +0x90, 0x1402c25c0\nlea     rax, ??_7GameSettingsLayer@@6B@_9; const GameSettingsLayer::`vftable' ; +0x97, 0x1402c25c7\nmov     [rcx+2A0h], rax                                                ; +0x9e, 0x1402c25ce\nlea     rax, ??_7GameSettingsLayer@@6B@_10; const GameSettingsLayer::`vftable' ; +0xa5, 0x1402c25d5\nmov     [rcx+430h], rax                                                ; +0xac, 0x1402c25dc\nadd     rcx, 458h; void *                                              ; +0xb3, 0x1402c25e3\ncall    sub_14003EA90                                                  ; +0xba, 0x1402c25ea\nlea     rcx, [rdi+448h]                                                ; +0xbf, 0x1402c25ef\ncall    sub_1400665B0                                                  ; +0xc6, 0x1402c25f6\nlea     rcx, [rdi+400h]                                                ; +0xcb, 0x1402c25fb\ncall    sub_14019EF40                                                  ; +0xd2, 0x1402c2602\nlea     rcx, [rdi+3E8h]                                                ; +0xd7, 0x1402c2607\ncall    sub_14019F010                                                  ; +0xde, 0x1402c260e\nmov     rcx, rdi                                                       ; +0xe3, 0x1402c2613\ncall    SetupTriggerPopup__dSetupTriggerPopup; Merged with: SetupTriggerPopup::~SetupTriggerPopup, AutoBackupOptionsPopup::~AutoBackupOptionsPopup, ClearPlatformerSavesOptionsPopup::~ClearPlatformerSavesOptionsPopup, ControlSlotsPopup::~ControlSlotsPopup, CustomizeObjectSettingsPopup::~CustomizeObjectSettingsPopup, DeathMarkerSettingsPopup::~DeathMarkerSettingsPopup, DeathTrackerOptionsPopup::~DeathTrackerOptionsPopup, EditorSFXSettingsPopup::~EditorSFXSettingsPopup, MoveStepPopup::~MoveStepPopup, MultiTriggerPopup::~MultiTriggerPopup, NotificationFilterPopup::~NotificationFilterPopup, ReviewChoiceSheet::~ReviewChoiceSheet, SetupAdvFollowEditPhysicsPopup::~SetupAdvFollowEditPhysicsPopup, SetupAdvFollowPopup::~SetupAdvFollowPopup, SetupAdvFollowRetargetPopup::~SetupAdvFollowRetargetPopup, SetupAnimSettingsPopup::~SetupAnimSettingsPopup, SetupArtSwitchPopup::~SetupArtSwitchPopup, SetupAudioLineGuidePopup::~SetupAudioLineGuidePopup, SetupCameraGuidePopup::~SetupCameraGuidePopup, SetupCameraRotatePopup2::~SetupCameraRotatePopup2, SetupCoinLayer::~SetupCoinLay ; +0xe6, 0x1402c2616\ntest    bl, 1                                                          ; +0xeb, 0x1402c261b\njz      short loc_1402C262D                                            ; +0xee, 0x1402c261e\nmov     edx, 4A8h                                                      ; +0xf0, 0x1402c2620\nmov     rcx, rdi; Block                                                ; +0xf5, 0x1402c2625\ncall    j_j_free                                                       ; +0xf8, 0x1402c2628\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xfd, 0x1402c262d\nmov     rax, rdi                                                       ; +0x102, 0x1402c2632\nadd     rsp, 20h                                                       ; +0x105, 0x1402c2635\npop     rdi                                                            ; +0x109, 0x1402c2639\nretn                                                                   ; +0x10a, 0x1402c263a", "xrefs": ["sub_1402C8C60 @ 0x1402c8c67", "<???> @ 0x140765df0", "<???> @ 0x14091db7c"], "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"}