//
// cocos2d::CCTexture2D::getContentSize from 0x1800a51e0 to 0x1800a523b (91 bytes)
//
// 3 xrefs:
// > ??> @ 0x180104d88
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7bf0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
struct cocos2d::CCSize __fastcall cocos2d::CCTexture2D::getContentSize(__int64 a1, cocos2d::CCSize *a2)
{
cocos2d::CCDirector *v4; // rax
cocos2d::CCDirector *v5; // rax
float ContentScaleFactor; // xmm0_4
cocos2d::CCSize::CCSize(a2);
v4 = cocos2d::CCDirector::sharedDirector();
a2->width = *(float *)(a1 + 84) / cocos2d::CCDirector::getContentScaleFactor(v4);
v5 = cocos2d::CCDirector::sharedDirector();
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v5);
a2->height = *(float *)(a1 + 88) / ContentScaleFactor;
return (struct cocos2d::CCSize)a2;
}