{"type": "func", "start": 5373226016, "end": 5373226217, "name": "KeybindCapturePopup::onSet", "pseudocode": "// \n// KeybindCapturePopup::onSet from 0x14044ec20 to 0x14044ece9 (201 bytes)\n// \n// 4 xrefs:\n// > KeybindCapturePopup::inputKeySelected @ 0x14044e39b\n// > KeybindCapturePopup::keyDown @ 0x14044ef77\n// > KeybindCapturePopup::init @ 0x14044dd97\n// > <???> @ 0x140927620\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__int64 __fastcall KeybindCapturePopup::onSet(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n  __int64 v4; // rdx\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n\n  result = *(unsigned int *)(a1 + 1032);\n  if ( (_DWORD)result )\n  {\n    v3 = *(_QWORD *)(a1 + 1008);\n    if ( v3 )\n    {\n      if ( !*(_BYTE *)(a1 + 1040) )\n      {\n        if ( !*(_BYTE *)(a1 + 1036) )\n        {\n          v4 = *(unsigned int *)(a1 + 1028);\n          if ( (_DWORD)v4 )\n          {\n            if ( (_DWORD)v4 != (_DWORD)result )\n              (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v3 + 32LL))(\n                v3,\n                v4,\n                *(unsigned int *)(a1 + 1024));\n          }\n        }\n        (*(void (__fastcall **)(_QWORD, _QWORD, _QWORD))(**(_QWORD **)(a1 + 1008) + 24LL))(\n          *(_QWORD *)(a1 + 1008),\n          *(unsigned int *)(a1 + 1032),\n          *(unsigned int *)(a1 + 1024));\n        v5 = *(_QWORD *)(a1 + 1048);\n        if ( v5 )\n        {\n          *(_WORD *)(v5 + 336) = 0;\n          *(_BYTE *)(v5 + 338) = 0;\n          sub_140457440();\n        }\n        v6 = *(_QWORD *)(a1 + 1016);\n        if ( v6 )\n          cocos2d::CCNode::scheduleOnce(v6, FLAlertLayer::rebuildContentDeferred);\n        return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1104LL))(a1, 0);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; KeybindCapturePopup::onSet from 0x14044ec20 to 0x14044ece9 (201 bytes)\n; \n; 4 xrefs:\n; > KeybindCapturePopup::inputKeySelected @ 0x14044e39b\n; > KeybindCapturePopup::keyDown @ 0x14044ef77\n; > KeybindCapturePopup::init @ 0x14044dd97\n; > <???> @ 0x140927620\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; \npush    rbx                                                            ; +0x0, 0x14044ec20\nsub     rsp, 20h                                                       ; +0x2, 0x14044ec22\nmov     eax, [rcx+408h]                                                ; +0x6, 0x14044ec26\nmov     rbx, rcx                                                       ; +0xc, 0x14044ec2c\ntest    eax, eax                                                       ; +0xf, 0x14044ec2f\njz      loc_14044ECE3                                                  ; +0x11, 0x14044ec31\nmov     rcx, [rcx+3F0h]                                                ; +0x17, 0x14044ec37\ntest    rcx, rcx                                                       ; +0x1e, 0x14044ec3e\njz      loc_14044ECE3                                                  ; +0x21, 0x14044ec41\ncmp     byte ptr [rbx+410h], 0                                         ; +0x27, 0x14044ec47\njnz     loc_14044ECE3                                                  ; +0x2e, 0x14044ec4e\ncmp     byte ptr [rbx+40Ch], 0                                         ; +0x34, 0x14044ec54\njnz     short loc_14044EC78                                            ; +0x3b, 0x14044ec5b\nmov     edx, [rbx+404h]                                                ; +0x3d, 0x14044ec5d\ntest    edx, edx                                                       ; +0x43, 0x14044ec63\njz      short loc_14044EC78                                            ; +0x45, 0x14044ec65\ncmp     edx, eax                                                       ; +0x47, 0x14044ec67\njz      short loc_14044EC78                                            ; +0x49, 0x14044ec69\nmov     rax, [rcx]                                                     ; +0x4b, 0x14044ec6b\nmov     r8d, [rbx+400h]                                                ; +0x4e, 0x14044ec6e\ncall    qword ptr [rax+20h]                                            ; +0x55, 0x14044ec75\nmov     rcx, [rbx+3F0h]                                                ; +0x58, 0x14044ec78\nmov     r8d, [rbx+400h]                                                ; +0x5f, 0x14044ec7f\nmov     edx, [rbx+408h]                                                ; +0x66, 0x14044ec86\nmov     rax, [rcx]                                                     ; +0x6c, 0x14044ec8c\ncall    qword ptr [rax+18h]                                            ; +0x6f, 0x14044ec8f\nmov     rcx, [rbx+418h]                                                ; +0x72, 0x14044ec92\ntest    rcx, rcx                                                       ; +0x79, 0x14044ec99\njz      short loc_14044ECB3                                            ; +0x7c, 0x14044ec9c\nmov     word ptr [rcx+150h], 0                                         ; +0x7e, 0x14044ec9e\nmov     byte ptr [rcx+152h], 0                                         ; +0x87, 0x14044eca7\ncall    sub_140457440                                                  ; +0x8e, 0x14044ecae\nmov     rcx, [rbx+3F8h]                                                ; +0x93, 0x14044ecb3\ntest    rcx, rcx                                                       ; +0x9a, 0x14044ecba\njz      short loc_14044ECCF                                            ; +0x9d, 0x14044ecbd\nxorps   xmm2, xmm2                                                     ; +0x9f, 0x14044ecbf\nlea     rdx, FLAlertLayer__rebuildContentDeferred                      ; +0xa2, 0x14044ecc2\ncall    cs:?scheduleOnce@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::scheduleOnce(void (cocos2d::CCObject::*)(float),float) ; +0xa9, 0x14044ecc9\nmov     rax, [rbx]                                                     ; +0xaf, 0x14044eccf\nxor     edx, edx                                                       ; +0xb2, 0x14044ecd2\nmov     rcx, rbx                                                       ; +0xb4, 0x14044ecd4\nadd     rsp, 20h                                                       ; +0xb7, 0x14044ecd7\npop     rbx                                                            ; +0xbb, 0x14044ecdb\njmp     qword ptr [rax+450h]                                           ; +0xbc, 0x14044ecdc\nadd     rsp, 20h                                                       ; +0xc3, 0x14044ece3\npop     rbx                                                            ; +0xc7, 0x14044ece7\nretn                                                                   ; +0xc8, 0x14044ece8", "xrefs": ["KeybindCapturePopup::inputKeySelected @ 0x14044e39b", "KeybindCapturePopup::keyDown @ 0x14044ef77", "KeybindCapturePopup::init @ 0x14044dd97", "<???> @ 0x140927620"], "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"}