// // sub_140159640 from 0x140159640 to 0x1401596f4 (180 bytes) // // 3 xrefs: // > sub_140159700 @ 0x14015979d // > GJThreadCell::loadFromThread @ 0x14015a8b5 // > @ 0x140917aa4 // // 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_140159640(__int64 a1, float *a2) { __int64 v4; // rsi const struct cocos2d::CCSize *v5; // rax __int64 v6; // rax __int64 v7; // rbx __int64 v8; // rax float v10; // [rsp+40h] [rbp+8h] BYREF float v11; // [rsp+44h] [rbp+Ch] char v12; // [rsp+48h] [rbp+10h] BYREF char v13; // [rsp+50h] [rbp+18h] BYREF v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 952LL))(a1); v5 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v10, v5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 312LL))(a1, a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, (float)(*a2 - v10) * 0.5, (float)(a2[1] - v11) * 0.5); v7 = v6; v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4); cocos2d::CCPoint::operator+(v8, &v12, v7); return (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 184LL))(v4, &v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source