//
// sub_10047BE80 from 0x10047be80 to 0x10047bef8 (120 bytes)
//
// 2 xrefs:
// > EditorUI::editButton2Usable @ 0x10047bca0
// > EditorUI::editObjectSpecial @ 0x10047c200
//
// 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 11:05:43 +0000
//
bool __fastcall sub_10047BE80(__int64 a1, __int64 a2, int a3)
{
unsigned int v5; // w21
int v6; // w8
_BOOL8 v7; // x22
if ( !a2 || !(unsigned int)sub_1002E757C(a2) )
return 0;
v5 = 0;
do
{
v6 = *(_DWORD *)(sub_1002E75A0(a2, v5) + 1248);
v7 = v6 == a3;
if ( v6 == a3 )
break;
++v5;
}
while ( v5 < (unsigned int)sub_1002E757C(a2) );
return v7;
}