//
// sub_7355B4 from 0x7355b4 to 0x7356bc (264 bytes)
//
// 2 xrefs:
// > sub_73635C @ 0x73640c
// > GJThreadCell::loadFromThread @ 0x73ec14
//
// 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 12:52:38 +0000
//
__int64 __fastcall sub_7355B4(__int64 a1, float *a2)
{
__int64 v4; // x23
const cocos2d::CCSize *v5; // x0
void (__fastcall *v6)(__int64, __int64 *); // x25
__int64 v7; // x26
float v9[2]; // [xsp+60h] [xbp+60h] BYREF
_BYTE v10[8]; // [xsp+68h] [xbp+68h] BYREF
__int64 v11; // [xsp+70h] [xbp+70h] BYREF
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
v5 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v9, v5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, a2);
v6 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 184LL);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)(*a2 - v9[0]) * 0.5, (float)(a2[1] - v9[1]) * 0.5);
cocos2d::CCPoint::operator+(&v11, v7);
v6(v4, &v11);
return _stack_chk_guard;
}