//
// sub_100306120 from 0x100306120 to 0x100306178 (88 bytes)
//
// 2 xrefs:
// > sub_10030618C @ 0x10030618c
// > sub_1003064AC @ 0x1003064cc
//
// 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:03:07 +0000
//
__int64 __fastcall sub_100306120(__int64 a1, __int128 *a2)
{
_QWORD *v4; // x0
_QWORD *v5; // x0
__int128 v6; // q0
v4 = (_QWORD *)cocos2d::CCObject::CCObject(a1);
*v4 = off_10092B2D8;
v5 = v4 + 7;
if ( *((char *)a2 + 23) < 0 )
{
sub_1000097D0(v5, *(void **)a2, *((_QWORD *)a2 + 1));
}
else
{
v6 = *a2;
v5[2] = *((_QWORD *)a2 + 2);
*(_OWORD *)v5 = v6;
}
return a1;
}