// // cocos2d::CCSpriteFrame::setOffsetInPixels from 0xd8aa50 to 0xd8aae8 (152 bytes) // // 1 xrefs: // > @ 0xa1c80 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:15 +0000 // __int64 __fastcall cocos2d::CCSpriteFrame::setOffsetInPixels(cocos2d::CCSpriteFrame *this, const cocos2d::CCPoint *a2) { float *v3; // x0 float v4; // s9 cocos2d::CCDirector *v5; // x0 float v6; // s9 float v7; // s8 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x0 float ContentScaleFactor; // s0 float v12; // [xsp+50h] [xbp+50h] BYREF v3 = cocos2d::CCPoint::operator=((float *)this + 27, (float *)a2); v4 = *((float *)this + 27); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3); v6 = v4 / cocos2d::CCDirector::getContentScaleFactor(v5); v7 = *((float *)this + 28); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v9); cocos2d::CCPoint::CCPoint(&v12, v6, v7 / ContentScaleFactor); cocos2d::CCPoint::operator=((float *)this + 14, &v12); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source