// // cocos2d::CCSpriteFrame::setOffsetInPixels from 0x7f34fc to 0x7f356c (112 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::setOffsetInPixels(cocos2d::CCSpriteFrame *this, const cocos2d::CCPoint *a2) { float *v3; // r0 float v4; // s17 cocos2d::CCDirector *v5; // r0 float v6; // r0 float v7; // s16 float v8; // s17 cocos2d::CCDirector *v9; // r0 float v10; // r0 float v12[2]; // [sp+4h] [bp-Ch] BYREF v3 = cocos2d::CCPoint::operator=((float *)this + 26, (float *)a2); v4 = *((float *)this + 26); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3); v6 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v5)); v7 = *((float *)this + 27); v8 = v4 / v6; v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v6)); v10 = COERCE_FLOAT(cocos2d::CCDirector::getContentScaleFactor(v9)); cocos2d::CCPoint::CCPoint(v12, v8, v7 / v10); return cocos2d::CCPoint::operator=((float *)this + 13, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source