//
// UI_method_get_writer from 0xa50154 to 0xa50160 (12 bytes)
//
// 2 xrefs:
// > sub_851F74 @ 0x851f9c
// > ??> @ 0x67a9c
//
// 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_get_writer(int result)
{
if ( result )
return *(_DWORD *)(result + 8);
return result;
}