// // cocos2d::CCSpriteFrame::setOffset from 0xd8a9b0 to 0xd8aa48 (152 bytes) // // 1 xrefs: // > @ 0x785f8 // // 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::setOffset(cocos2d::CCSpriteFrame *this, const cocos2d::CCPoint *a2) { float *v3; // x0 float v4; // s9 cocos2d::CCDirector *v5; // x0 float ContentScaleFactor; // s0 float v7; // s8 float v8; // s9 cocos2d::CCDirector *v9; // x0 cocos2d::CCDirector *v10; // x0 float v11; // s0 float v13; // [xsp+50h] [xbp+50h] BYREF v3 = cocos2d::CCPoint::operator=((float *)this + 14, (float *)a2); v4 = *((float *)this + 14); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3); ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v5); v7 = *((float *)this + 15); v8 = v4 * ContentScaleFactor; v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9); v11 = cocos2d::CCDirector::getContentScaleFactor(v10); cocos2d::CCPoint::CCPoint(&v13, v8, v7 * v11); cocos2d::CCPoint::operator=((float *)this + 27, &v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source