// // cocos2d::CCSpriteFrame::setOffsetInPixels from 0x180090170 to 0x1800901e0 (112 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b6294 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCSpriteFrame::setOffsetInPixels(cocos2d::CCSpriteFrame *this, struct cocos2d::CCPoint *a2) { cocos2d::CCDirector *v3; // rax float v4; // xmm6_4 cocos2d::CCDirector *v5; // rax float ContentScaleFactor; // xmm0_4 float *v7; // rax float v8; // [rsp+40h] [rbp+8h] BYREF cocos2d::CCSize::operator=(&this->m_obOffsetInPixels, a2); v3 = cocos2d::CCDirector::sharedDirector(); v4 = this->m_obOffsetInPixels.y / cocos2d::CCDirector::getContentScaleFactor(v3); v5 = cocos2d::CCDirector::sharedDirector(); ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v5); v7 = kmVec2Fill(&v8, this->m_obOffsetInPixels.x / ContentScaleFactor, v4); cocos2d::CCSize::operator=(&this->m_obOffset, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source