// // CWin32InputBox::InputBoxEx from 0x18001dcb0 to 0x18001ddf8 (328 bytes) // // 4 xrefs: // > @ 0x180031fe8 // > @ 0x180031ffc // > @ 0x180032408 // > @ 0x18004cff8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:15:44 +0000 // INT_PTR __fastcall CWin32InputBox::InputBoxEx(struct WIN32INPUTBOX_PARAM *a1) { __int64 v3; // rax HMODULE v4; // rdi HRSRC ResourceW; // rax DLGTEMPLATE *Resource; // rdx int v7; // ecx int v8; // ecx __int16 v9; // ax __int16 v10; // ax DWORD style; // ecx int v12; // ecx __int16 v13; // ax __int16 v14; // ax HWND v15; // r8 HINSTANCE v16; // rcx LPARAM dwInitParam[3]; // [rsp+30h] [rbp-18h] BYREF DLGTEMPLATE *v18; // [rsp+50h] [rbp+8h] if ( !*((_QWORD *)a1 + 8) ) { SetLastError(0x57u); return 0; } v3 = *((_QWORD *)a1 + 2); if ( v3 ) { v4 = *((HMODULE *)a1 + 11); ResourceW = FindResourceW(v4, (LPCWSTR)(unsigned __int16)v3, (LPCWSTR)5); if ( !ResourceW ) return 0; Resource = (DLGTEMPLATE *)LoadResource(v4, ResourceW); if ( !Resource ) return 0; } else { Resource = v18; if ( *((_QWORD *)a1 + 1) ) Resource = *((DLGTEMPLATE **)a1 + 1); } if ( LOWORD(Resource->style) == 1 && HIWORD(Resource->style) == 0xFFFF && Resource ) { *(_DWORD *)&Resource->cdit |= *((_DWORD *)a1 + 9); *(_DWORD *)&Resource->y |= *((_DWORD *)a1 + 7); v7 = *(_DWORD *)&Resource->y; *(_DWORD *)&Resource->cdit &= *((_DWORD *)a1 + 10); v8 = *((_DWORD *)a1 + 8) & v7; *(_DWORD *)&Resource->y = v8; if ( *((_BYTE *)a1 + 24) ) *(_DWORD *)&Resource->y = v8 | 0x800; v9 = *((_WORD *)a1 + 48); if ( v9 != -1 ) LOWORD(Resource[1].style) = v9; v10 = *((_WORD *)a1 + 49); if ( v10 != -1 ) HIWORD(Resource[1].style) = v10; } else { Resource->dwExtendedStyle |= *((_DWORD *)a1 + 9); Resource->style |= *((_DWORD *)a1 + 7); style = Resource->style; Resource->dwExtendedStyle &= *((_DWORD *)a1 + 10); v12 = *((_DWORD *)a1 + 8) & style; Resource->style = v12; if ( *((_BYTE *)a1 + 24) ) Resource->style = v12 | 0x800; v13 = *((_WORD *)a1 + 48); if ( v13 != -1 ) Resource->x = v13; v14 = *((_WORD *)a1 + 49); if ( v14 != -1 ) Resource->y = v14; } v15 = *((HWND *)a1 + 10); v16 = *((HINSTANCE *)a1 + 11); dwInitParam[0] = (LPARAM)a1; return DialogBoxIndirectParamW(v16, Resource, v15, CWin32InputBox::DlgProc, (LPARAM)dwInitParam); }
GD Web Decomp Icon

GD Web Decomp

Raw Source