//
// UI_method_set_opener from 0xa500d0 to 0xa500e4 (20 bytes)
//
// 2 xrefs:
// > sub_8539B8 @ 0x8547f8
// > ??> @ 0x6833c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:08:22 +0000
//
int __fastcall UI_method_set_opener(int a1, int a2)
{
if ( !a1 )
return -1;
*(_DWORD *)(a1 + 4) = a2;
return 0;
}