//
// UI_method_set_opener from 0x83b4d0 to 0x83b4e4 (20 bytes)
//
// 2 xrefs:
// > sub_643938 @ 0x644778
// > ??> @ 0x5540c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall UI_method_set_opener(int a1, int a2)
{
if ( !a1 )
return -1;
*(_DWORD *)(a1 + 4) = a2;
return 0;
}