//
// sub_10008237C from 0x10008237c to 0x10008241c (160 bytes)
//
// 1 xrefs:
// > EditorUI::createSmartObjectsFromType @ 0x100479d9c
//
// 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:58:17 +0000
//
__int64 __fastcall sub_10008237C(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x21
__int64 v7; // x22
if ( !a2 )
return 0;
v4 = sub_1002E757C(a2);
if ( !(_DWORD)v4 )
return 0;
v5 = sub_1002E736C(v4);
v6 = sub_1002E736C(v5);
if ( (unsigned int)sub_1002E757C(a2) )
{
v7 = 0;
do
{
if ( (unsigned int)(*(_DWORD *)(sub_1002E75A0(a2, v7) + 1028) - 2808) <= 0x1D )
sub_10008241C(a1);
v7 = (unsigned int)(v7 + 1);
}
while ( (unsigned int)v7 < (unsigned int)sub_1002E757C(a2) );
}
return v6;
}