// // cocos2d::CCTexture2D::getContentSize from 0x7ff126 to 0x7ff16c (70 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:18 +0000 // cocos2d::CCTexture2D *__fastcall cocos2d::CCTexture2D::getContentSize(cocos2d::CCTexture2D *this, int a2) { cocos2d::CCDirector *v4; // r0 float v5; // s16 cocos2d::CCDirector *v6; // r0 float v7; // r0 float v8; // s16 cocos2d::CCDirector *v9; // r0 float v10; // s15 v4 = (cocos2d::CCDirector *)cocos2d::CCSize::CCSize(this); v5 = *(float *)(a2 + 80); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); v7 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v6)); *(float *)this = v5 / v7; v8 = *(float *)(a2 + 84); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v7)); v10 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v9)); *((float *)this + 1) = v8 / v10; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source