//
// GJBaseGameLayer::getSingleGroupObject from 0x100281ca8 to 0x100281cf8 (80 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::setupLevelStart @ 0x100281630
// > GJBaseGameLayer::tryGetMainObject @ 0x1002863cc
//
// 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:01:55 +0000
//
__int64 __fastcall GJBaseGameLayer::getSingleGroupObject(__int64 a1, int a2)
{
__int64 Group; // x0
__int64 v3; // x19
if ( a2 >= 1
&& (Group = GJBaseGameLayer::getGroup(a1, a2)) != 0
&& (v3 = Group, (unsigned int)sub_1002E757C(Group) == 1) )
{
return sub_1002E75A0(v3, 0);
}
else
{
return 0;
}
}