// // cocos2d::CCSpriteFrame::setRectInPixels from 0x7f33d8 to 0x7f347a (162 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::setRectInPixels(cocos2d::CCSpriteFrame *this, const cocos2d::CCRect *a2) { float *v4; // r0 float v5; // s18 cocos2d::CCDirector *v6; // r0 float v7; // r0 float v8; // s17 float v9; // s18 cocos2d::CCDirector *v10; // r0 float v11; // r0 float v12; // s16 float v13; // s17 cocos2d::CCDirector *v14; // r0 float v15; // r0 float v16; // s19 float v17; // s16 cocos2d::CCDirector *v18; // r0 float v19; // r0 float v21[4]; // [sp+Ch] [bp-14h] BYREF v4 = cocos2d::CCRect::operator=((float *)this + 17, (float *)a2); v5 = *(float *)a2; v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v4); v7 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v6)); v8 = *((float *)a2 + 1); v9 = v5 / v7; v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v7)); v11 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v10)); v12 = *((float *)a2 + 2); v13 = v8 / v11; v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v11)); v15 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v14)); v16 = *((float *)a2 + 3); v17 = v12 / v15; v18 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v15)); v19 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v18)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v21, v9, v13, v17, v16 / v19); return cocos2d::CCRect::operator=((float *)this + 22, v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source