//
// sub_1000379B8 from 0x1000379b8 to 0x100037a68 (176 bytes)
//
// 1 xrefs:
// > CCContentLayer::setPosition @ 0x100221d3c
//
// 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:57:33 +0000
//
_QWORD *__fastcall sub_1000379B8(_QWORD *result)
{
_QWORD **v1; // x19
float v2; // s8
float v3; // s9
__int64 v4; // x0
float v5; // s10
float v6; // s0
_BOOL8 v8; // x1
if ( result[52] )
{
v1 = (_QWORD **)result;
v2 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*result + 328LL))(result) + 4);
v3 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*v1[52] + 328LL))(v1[52]) + 4);
v4 = ((__int64 (__fastcall *)(_QWORD **))(*v1)[64])(v1);
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4) + 4);
v6 = v5 + *(float *)(((__int64 (__fastcall *)(_QWORD **))(*v1)[24])(v1) + 4);
v8 = v6 >= (float)-v2 && v6 <= v3;
return (_QWORD *)((__int64 (__fastcall *)(_QWORD **, _BOOL8))(*v1)[43])(v1, v8);
}
return result;
}