// // cocos2d::CCSpriteFrame::setRectInPixels from 0x1003583e0 to 0x1003584bf (223 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::setRectInPixels(cocos2d::CCSpriteFrame *a1, const cocos2d::CCRect *a2) { cocos2d::CCDirector *v2; // rax cocos2d::CCDirector *v3; // rax cocos2d::CCDirector *v4; // rax cocos2d::CCDirector *v5; // rax __m128 v6; // xmm3 unsigned __int64 v7[2]; // [rsp+0h] [rbp-30h] BYREF float height; // [rsp+10h] [rbp-20h] float x; // [rsp+14h] [rbp-1Ch] float y; // [rsp+18h] [rbp-18h] float width; // [rsp+1Ch] [rbp-14h] sub_10028D1A0((__m128 *)&a1->m_obRectInPixels, (unsigned __int64 *)a2); x = a2->origin.x; v2 = cocos2d::CCDirector::sharedDirector(); x = x / sub_1004849C0(v2); y = a2->origin.y; v3 = cocos2d::CCDirector::sharedDirector(); y = y / sub_1004849C0(v3); width = a2->size.width; v4 = cocos2d::CCDirector::sharedDirector(); width = width / sub_1004849C0(v4); height = a2->size.height; v5 = cocos2d::CCDirector::sharedDirector(); v6 = (__m128)LODWORD(height); v6.f32[0] = height / sub_1004849C0(v5); sub_10028CC00((__int64)v7, x, y, (__m128)LODWORD(width), v6); sub_10028D1A0((__m128 *)&a1->m_obRect, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source