// // cocos2d::CCSpriteFrame::setOffsetInPixels from 0x100358570 to 0x1003585f5 (133 bytes) // // 0 xrefs: // // 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 *a1, const cocos2d::CCPoint *a2) { cocos2d::CCDirector *v2; // rax cocos2d::CCDirector *v3; // rax float v4; // xmm0_4 double v5; // [rsp+0h] [rbp-20h] BYREF float y; // [rsp+8h] [rbp-18h] float x; // [rsp+Ch] [rbp-14h] sub_10028CC90(&a1->m_obOffsetInPixels, (double *)a2); x = a1->m_obOffsetInPixels.x; v2 = cocos2d::CCDirector::sharedDirector(); x = x / sub_1004849C0(v2); y = a1->m_obOffsetInPixels.y; v3 = cocos2d::CCDirector::sharedDirector(); v4 = sub_1004849C0(v3); sub_10028CBE0((float *)&v5, x, y / v4); sub_10028CC90(&a1->m_obOffset, &v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source