//
// sub_140159700 from 0x140159700 to 0x1401597c2 (194 bytes)
//
// 3 xrefs:
// > GJThreadCell::loadFromThread @ 0x140159db6
// > GJThreadCell::loadFromThread @ 0x14015a5a3
// > ??> @ 0x140917ab0
//
// This function is hookable on this platform (idp: pc, 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:27:21 +0000
//
__int64 __fastcall sub_140159700(__int64 a1, float a2)
{
__int64 v3; // rdi
float *v4; // rbx
float v5; // xmm6_4
double v6; // xmm0_8
float v7; // xmm7_4
float v8; // xmm6_4
float *v9; // rax
char v11; // [rsp+60h] [rbp+8h] BYREF
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 952LL))(a1);
v4 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3);
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3) + 4);
v6 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);
v7 = *(float *)&v6 * v5;
v8 = *v4;
*(float *)&v6 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v3 + 128LL))(v3);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v11, (float)(*(float *)&v6 * v8) * a2, v7 * a2);
return sub_140159640(a1, v9);
}