//
// cocos2d::CCTexture2D::getContentSize from 0x5f36aa to 0x5f36f0 (70 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCSize *cocos2d::CCTexture2D::getContentSize(cocos2d::CCSize *__return_ptr retstr, cocos2d::CCTexture2D *a2)
{
float width; // s16
cocos2d::CCDirector *v5; // r0
float height; // s16
cocos2d::CCDirector *v7; // r0
float v8; // s15
cocos2d::CCSize::CCSize(retstr);
width = a2->m_tContentSize.width;
v5 = cocos2d::CCDirector::sharedDirector();
retstr->width = width / COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v5));
height = a2->m_tContentSize.height;
v7 = cocos2d::CCDirector::sharedDirector();
v8 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v7));
retstr->height = height / v8;
return retstr;
}