//
// cocos2d::CCTexture2D::getContentSize from 0x100478150 to 0x1004781bd (109 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093b230
//
// 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 __fastcall cocos2d::CCTexture2D::getContentSize(cocos2d::CCTexture2D *a1)
{
__int64 v1; // rsi
cocos2d::CCDirector *v2; // rax
cocos2d::CCDirector *v3; // rax
float v5; // [rsp+Ch] [rbp-14h]
float v6; // [rsp+Ch] [rbp-14h]
cocos2d::CCSize result; // 0:xmm0_8.8
sub_10028CF90(a1);
v5 = *(float *)(v1 + 84);
v2 = cocos2d::CCDirector::sharedDirector();
*(float *)&a1->__vftable = v5 / sub_1004849C0(v2);
result = (cocos2d::CCSize)*(unsigned int *)(v1 + 88);
v6 = *(float *)(v1 + 88);
v3 = cocos2d::CCDirector::sharedDirector();
result.width = sub_1004849C0(v3);
*((float *)&a1->__vftable + 1) = v6 / result.width;
return result;
}