// // cocos2d::CCTexture2D::getContentSize from 0xb31024 to 0xb31080 (92 bytes) // // 2 xrefs: // > @ 0x817e0 // > @ 0x121a2c0 // // 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::CCTexture2D *a1) { cocos2d::CCSize *v1; // x8 float *v3; // x19 float width; // s9 cocos2d::CCDirector *v5; // x0 float ContentScaleFactor; // s0 float height; // s8 cocos2d::CCDirector *v8; // x0 cocos2d::CCSize result; // 0:s0.4,4:s1.4 v3 = (float *)v1; cocos2d::CCSize::CCSize(v1); width = a1->m_tContentSize.width; v5 = cocos2d::CCDirector::sharedDirector(); ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v5); height = a1->m_tContentSize.height; *v3 = width / ContentScaleFactor; v8 = cocos2d::CCDirector::sharedDirector(); result.width = height / cocos2d::CCDirector::getContentScaleFactor(v8); v3[1] = result.width; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source