{"type": "func", "start": 5369956208, "end": 5369956306, "name": "ConfigureHSVWidget::hostPopup", "pseudocode": "// \n// ConfigureHSVWidget::hostPopup from 0x140130770 to 0x1401307d2 (98 bytes)\n// \n// 3 xrefs:\n// > ConfigureHSVWidget::textInputShouldOffset @ 0x140130708\n// > ConfigureHSVWidget::textInputReturn @ 0x140130740\n// > <???> @ 0x140916e44\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:27:03 +0000\n// \n\n__int64 __fastcall ConfigureHSVWidget::hostPopup(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 result; // rax\n\n  v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 504LL))(a1);\n  if ( !v1 )\n    return 0;\n  while ( 1 )\n  {\n    result = _RTDynamicCast(v1, 0, &cocos2d::CCNode `RTTI Type Descriptor', &FLAlertLayer `RTTI Type Descriptor', 0);\n    if ( result )\n      break;\n    v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 504LL))(v1);\n    if ( !v1 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; ConfigureHSVWidget::hostPopup from 0x140130770 to 0x1401307d2 (98 bytes)\n; \n; 3 xrefs:\n; > ConfigureHSVWidget::textInputShouldOffset @ 0x140130708\n; > ConfigureHSVWidget::textInputReturn @ 0x140130740\n; > <???> @ 0x140916e44\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:27:03 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140130770\npush    rdi                                                            ; +0x5, 0x140130775\nsub     rsp, 30h                                                       ; +0x6, 0x140130776\nmov     rax, [rcx]                                                     ; +0xa, 0x14013077a\ncall    qword ptr [rax+1F8h]                                           ; +0xd, 0x14013077d\nmov     rbx, rax                                                       ; +0x13, 0x140130783\ntest    rax, rax                                                       ; +0x16, 0x140130786\njz      short loc_1401307C5                                            ; +0x19, 0x140130789\nxor     edi, edi                                                       ; +0x1b, 0x14013078b\nnop     dword ptr [rax]                                                ; +0x1d, 0x14013078d\nlea     r9, ??_R0?AVFLAlertLayer@@@8; FLAlertLayer `RTTI Type Descriptor' ; +0x20, 0x140130790\nmov     [rsp+38h+var_18], edi                                          ; +0x27, 0x140130797\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x2b, 0x14013079b\nxor     edx, edx                                                       ; +0x32, 0x1401307a2\nmov     rcx, rbx                                                       ; +0x34, 0x1401307a4\ncall    __RTDynamicCast                                                ; +0x37, 0x1401307a7\ntest    rax, rax                                                       ; +0x3c, 0x1401307ac\njnz     short loc_1401307C7                                            ; +0x3f, 0x1401307af\nmov     rax, [rbx]                                                     ; +0x41, 0x1401307b1\nmov     rcx, rbx                                                       ; +0x44, 0x1401307b4\ncall    qword ptr [rax+1F8h]                                           ; +0x47, 0x1401307b7\nmov     rbx, rax                                                       ; +0x4d, 0x1401307bd\ntest    rax, rax                                                       ; +0x50, 0x1401307c0\njnz     short loc_140130790                                            ; +0x53, 0x1401307c3\nxor     eax, eax                                                       ; +0x55, 0x1401307c5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x57, 0x1401307c7\nadd     rsp, 30h                                                       ; +0x5c, 0x1401307cc\npop     rdi                                                            ; +0x60, 0x1401307d0\nretn                                                                   ; +0x61, 0x1401307d1", "xrefs": ["ConfigureHSVWidget::textInputShouldOffset @ 0x140130708", "ConfigureHSVWidget::textInputReturn @ 0x140130740", "<???> @ 0x140916e44"], "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"}