//
// cocos2d::CCTexture2D::getContentSize from 0x1800a8cd0 to 0x1800a8d35 (101 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010b450
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1ea8
//
// 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:22:16 +0000
//
float *__fastcall cocos2d::CCTexture2D::getContentSize(__int64 a1, float *a2)
{
float v4; // xmm6_4
cocos2d::CCDirector *v5; // rax
cocos2d::CCDirector *v6; // rax
float ContentScaleFactor; // xmm0_4
cocos2d::CCSize::CCSize((cocos2d::CCSize *)a2);
v4 = *(float *)(a1 + 84);
v5 = cocos2d::CCDirector::sharedDirector();
*a2 = v4 / cocos2d::CCDirector::getContentScaleFactor(v5);
v6 = cocos2d::CCDirector::sharedDirector();
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v6);
a2[1] = *(float *)(a1 + 88) / ContentScaleFactor;
return a2;
}