// // cocos2d::CCSpriteFrame::setRect from 0x7f3334 to 0x7f33d4 (160 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:06 +0000 // float *__fastcall cocos2d::CCSpriteFrame::setRect(cocos2d::CCSpriteFrame *this, const cocos2d::CCRect *a2) { float *v3; // r0 float v4; // s18 cocos2d::CCDirector *v5; // r0 float v6; // r0 float v7; // s17 float v8; // s18 cocos2d::CCDirector *v9; // r0 float v10; // r0 float v11; // s16 float v12; // s17 cocos2d::CCDirector *v13; // r0 float v14; // r0 float v15; // s19 float v16; // s16 cocos2d::CCDirector *v17; // r0 float v18; // r0 float v20[4]; // [sp+Ch] [bp-14h] BYREF v3 = cocos2d::CCRect::operator=((float *)this + 22, (float *)a2); v4 = *((float *)this + 22); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3); v6 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v5)); v7 = *((float *)this + 23); v8 = v4 * v6; v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v6)); v10 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v9)); v11 = *((float *)this + 24); v12 = v7 * v10; v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v10)); v14 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v13)); v15 = *((float *)this + 25); v16 = v11 * v14; v17 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v14)); v18 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v17)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v20, v8, v12, v16, v15 * v18); return cocos2d::CCRect::operator=((float *)this + 17, v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source