{"type": "func", "start": 5373223504, "end": 5373223798, "name": "KeybindCapturePopup::dKeybindCapturePopup", "pseudocode": "// \n// KeybindCapturePopup::dKeybindCapturePopup from 0x14044e250 to 0x14044e376 (294 bytes)\n// \n// 4 xrefs:\n// > sub_14044F0E8 @ 0x14044f0ef\n// > sub_14044F0F4 @ 0x14044f0fb\n// > <???> @ 0x140794040\n// > <???> @ 0x1409275d8\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:32:26 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall KeybindCapturePopup::dKeybindCapturePopup(_QWORD *Block, char a2)\n{\n  __int64 v4; // rax\n  __int64 v5; // rcx\n  cocos2d::CCTextureCache *v6; // rax\n\n  *Block = &KeybindCapturePopup::`vftable';\n  Block[40] = &KeybindCapturePopup::`vftable';\n  Block[41] = &KeybindCapturePopup::`vftable';\n  Block[42] = &KeybindCapturePopup::`vftable';\n  Block[43] = &KeybindCapturePopup::`vftable';\n  Block[44] = &KeybindCapturePopup::`vftable';\n  Block[51] = &KeybindCapturePopup::`vftable';\n  Block[54] = &KeybindCapturePopup::`vftable';\n  Block[68] = &KeybindCapturePopup::`vftable';\n  Block[83] = &KeybindCapturePopup::`vftable';\n  Block[84] = &KeybindCapturePopup::`vftable';\n  Block[125] = &KeybindCapturePopup::`vftable';\n  v4 = cocos2d::CCDirector::sharedDirector(Block);\n  *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 176LL))(v4) + 158) = 0;\n  if ( *((_BYTE *)Block + 1038) )\n  {\n    v6 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v5);\n    cocos2d::CCTextureCache::removeTextureForKey(v6, \"controller_outline.png\");\n  }\n  Block[125] = &InputCaptureDelegate::`vftable';\n  SetupTriggerPopup::dSetupTriggerPopup(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; KeybindCapturePopup::dKeybindCapturePopup from 0x14044e250 to 0x14044e376 (294 bytes)\n; \n; 4 xrefs:\n; > sub_14044F0E8 @ 0x14044f0ef\n; > sub_14044F0F4 @ 0x14044f0fb\n; > <???> @ 0x140794040\n; > <???> @ 0x1409275d8\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:32:26 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14044e250\npush    rdi                                                            ; +0x5, 0x14044e255\nsub     rsp, 20h                                                       ; +0x6, 0x14044e256\nmov     edi, edx                                                       ; +0xa, 0x14044e25a\nmov     rbx, rcx                                                       ; +0xc, 0x14044e25c\nlea     rax, ??_7KeybindCapturePopup@@6B@; const KeybindCapturePopup::`vftable' ; +0xf, 0x14044e25f\nmov     [rcx], rax                                                     ; +0x16, 0x14044e266\nlea     rax, ??_7KeybindCapturePopup@@6B@_0; const KeybindCapturePopup::`vftable' ; +0x19, 0x14044e269\nmov     [rcx+140h], rax                                                ; +0x20, 0x14044e270\nlea     rax, ??_7KeybindCapturePopup@@6B@_1; const KeybindCapturePopup::`vftable' ; +0x27, 0x14044e277\nmov     [rcx+148h], rax                                                ; +0x2e, 0x14044e27e\nlea     rax, ??_7KeybindCapturePopup@@6B@_2; const KeybindCapturePopup::`vftable' ; +0x35, 0x14044e285\nmov     [rcx+150h], rax                                                ; +0x3c, 0x14044e28c\nlea     rax, ??_7KeybindCapturePopup@@6B@_3; const KeybindCapturePopup::`vftable' ; +0x43, 0x14044e293\nmov     [rcx+158h], rax                                                ; +0x4a, 0x14044e29a\nlea     rax, ??_7KeybindCapturePopup@@6B@_4; const KeybindCapturePopup::`vftable' ; +0x51, 0x14044e2a1\nmov     [rcx+160h], rax                                                ; +0x58, 0x14044e2a8\nlea     rax, ??_7KeybindCapturePopup@@6B@_5; const KeybindCapturePopup::`vftable' ; +0x5f, 0x14044e2af\nmov     [rcx+198h], rax                                                ; +0x66, 0x14044e2b6\nlea     rax, ??_7KeybindCapturePopup@@6B@_6; const KeybindCapturePopup::`vftable' ; +0x6d, 0x14044e2bd\nmov     [rcx+1B0h], rax                                                ; +0x74, 0x14044e2c4\nlea     rax, ??_7KeybindCapturePopup@@6B@_7; const KeybindCapturePopup::`vftable' ; +0x7b, 0x14044e2cb\nmov     [rcx+220h], rax                                                ; +0x82, 0x14044e2d2\nlea     rax, ??_7KeybindCapturePopup@@6B@_8; const KeybindCapturePopup::`vftable' ; +0x89, 0x14044e2d9\nmov     [rcx+298h], rax                                                ; +0x90, 0x14044e2e0\nlea     rax, ??_7KeybindCapturePopup@@6B@_9; const KeybindCapturePopup::`vftable' ; +0x97, 0x14044e2e7\nmov     [rcx+2A0h], rax                                                ; +0x9e, 0x14044e2ee\nlea     rax, ??_7KeybindCapturePopup@@6B@_10; const KeybindCapturePopup::`vftable' ; +0xa5, 0x14044e2f5\nmov     [rcx+3E8h], rax                                                ; +0xac, 0x14044e2fc\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xb3, 0x14044e303\nmov     rcx, [rax]                                                     ; +0xb9, 0x14044e309\nmov     rdx, [rcx+0B0h]                                                ; +0xbc, 0x14044e30c\nmov     rcx, rax                                                       ; +0xc3, 0x14044e313\ncall    rdx                                                            ; +0xc6, 0x14044e316\nmov     byte ptr [rax+9Eh], 0                                          ; +0xc8, 0x14044e318\ncmp     byte ptr [rbx+40Eh], 0                                         ; +0xcf, 0x14044e31f\njz      short loc_14044E33E                                            ; +0xd6, 0x14044e326\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0xd8, 0x14044e328\nmov     rcx, rax                                                       ; +0xde, 0x14044e32e\nlea     rdx, aControllerOutl; \"controller_outline.png\"                 ; +0xe1, 0x14044e331\ncall    cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0xe8, 0x14044e338\nlea     rax, ??_7InputCaptureDelegate@@6B@; const InputCaptureDelegate::`vftable' ; +0xee, 0x14044e33e\nmov     [rbx+3E8h], rax                                                ; +0xf5, 0x14044e345\nmov     rcx, rbx                                                       ; +0xfc, 0x14044e34c\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 ; +0xff, 0x14044e34f\nnop                                                                    ; +0x104, 0x14044e354\ntest    dil, 1                                                         ; +0x105, 0x14044e355\njz      short loc_14044E368                                            ; +0x109, 0x14044e359\nmov     edx, 468h                                                      ; +0x10b, 0x14044e35b\nmov     rcx, rbx; Block                                                ; +0x110, 0x14044e360\ncall    j_j_free                                                       ; +0x113, 0x14044e363\nmov     rax, rbx                                                       ; +0x118, 0x14044e368\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11b, 0x14044e36b\nadd     rsp, 20h                                                       ; +0x120, 0x14044e370\npop     rdi                                                            ; +0x124, 0x14044e374\nretn                                                                   ; +0x125, 0x14044e375", "xrefs": ["sub_14044F0E8 @ 0x14044f0ef", "sub_14044F0F4 @ 0x14044f0fb", "<???> @ 0x140794040", "<???> @ 0x1409275d8"], "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"}