//
// sub_100188044 from 0x100188044 to 0x1001880a8 (100 bytes)
//
// 1 xrefs:
// > EditorUI::createCustomItems @ 0x100184a2c
//
// 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_100188044(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
int v3; // w20
if ( (*(_DWORD *)(result + 1344) & 0x80000000) != 0 )
{
v1 = result;
v2 = GameManager::sharedState(result);
result = sub_1003B656C(v2, *(unsigned int *)(v1 + 1344), 0);
if ( (_DWORD)result != *(_DWORD *)(v1 + 1344) )
{
v3 = result;
EditorUI::reloadCustomItems(v1);
*(_DWORD *)(v1 + 1344) = v3;
return EditorUI::updateCreateMenu(v1, 0);
}
}
return result;
}