//
// sub_100187FA4 from 0x100187fa4 to 0x100187fe0 (60 bytes)
//
// 1 xrefs:
// > EditorUI::createCustomItems @ 0x100184acc
//
// This function is hookable on this platform (idp: arm, 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 10:59:51 +0000
//
__int64 __fastcall sub_100187FA4(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
if ( (*(_DWORD *)(result + 1344) & 0x80000000) != 0 )
{
v1 = result;
v2 = GameManager::sharedState(result);
sub_1003B6740(v2, *(unsigned int *)(v1 + 1344));
*(_DWORD *)(v1 + 1344) = 0;
return EditorUI::reloadCustomItems(v1);
}
return result;
}