// // cocos2d::CCTexture2D::getContentSize from 0x10012d434 to 0x10012d48c (88 bytes) // // 1 xrefs: // > @ 0x100792850 // // 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) { float *v1; // x8 float *v3; // x20 float width; // s8 cocos2d::CCDirector *v5; // x0 float height; // s8 cocos2d::CCDirector *v7; // x0 cocos2d::CCSize result; // 0:s0.4,4:s1.4 v3 = v1; sub_100022AF4(v1); width = a1->m_tContentSize.width; v5 = cocos2d::CCDirector::sharedDirector(); *v3 = width / sub_1001765E4(v5); height = a1->m_tContentSize.height; v7 = cocos2d::CCDirector::sharedDirector(); result.width = height / sub_1001765E4(v7); v3[1] = result.width; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source