// // cocos2d::CCSprite::displayFrame from 0x10028af40 to 0x10028b0e9 (425 bytes) // // 77 xrefs: // > @ 0x1008b4248 // > @ 0x1008b8230 // > @ 0x1008c44f0 // > @ 0x1008c4d28 // > @ 0x1008c5520 // > @ 0x1008c5d18 // > @ 0x1008c6510 // > @ 0x1008c6d08 // > @ 0x1008c7500 // > @ 0x1008c7cf8 // > @ 0x1008c84e0 // > @ 0x1008c8cf0 // > @ 0x1008c9568 // > @ 0x1008c9d78 // > @ 0x1008ca588 // > @ 0x1008cad98 // > @ 0x1008cb5a8 // > @ 0x1008cbdb8 // > @ 0x1008cc5c8 // > @ 0x1008ccdd8 // > @ 0x1008cd5e8 // > @ 0x1008cddf8 // > @ 0x1008ce620 // > @ 0x1008cee78 // > @ 0x1008cf6a0 // > @ 0x1008cfec8 // > @ 0x1008d06f0 // > @ 0x1008d0f18 // > @ 0x1008d1728 // > @ 0x1008d1f38 // > @ 0x1008d2748 // > @ 0x1008d2f58 // > @ 0x1008d3768 // > @ 0x1008d3f78 // > @ 0x1008d4788 // > @ 0x1008d4f98 // > @ 0x1008d57a8 // > @ 0x1008d5fb8 // > @ 0x1008d67c8 // > @ 0x1008d6fd8 // > @ 0x1008d77e8 // > @ 0x1008d7ff8 // > @ 0x1008d8808 // > @ 0x1008d9018 // > @ 0x1008dd5f8 // > @ 0x1008e0b28 // > @ 0x1008f07a0 // > @ 0x1008f3b30 // > @ 0x100904f28 // > @ 0x100909b00 // > @ 0x10090bb38 // > @ 0x1009135e0 // > @ 0x100914888 // > @ 0x100915418 // > @ 0x10091c1a8 // > @ 0x10091c730 // > @ 0x10091e128 // > @ 0x1009237c0 // > @ 0x100928158 // > @ 0x10092aeb0 // > @ 0x100933b88 // > @ 0x1009343b0 // > @ 0x10093ca50 // > @ 0x10093d000 // > @ 0x100942290 // > @ 0x10094e9a8 // > @ 0x100971870 // > @ 0x100972058 // > @ 0x100972868 // > @ 0x100974ad0 // > @ 0x100975088 // > @ 0x100975640 // > @ 0x10097a630 // > @ 0x10097abe8 // > @ 0x1009856b8 // > @ 0x100991aa0 // > @ 0x1009962c8 // // 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 // cocos2d::CCSpriteFrame *__fastcall cocos2d::CCSprite::displayFrame(cocos2d::CCSprite *a1) { cocos2d::CCTexture2D *m_pobTexture; // rbx cocos2d::CCDirector *v2; // rax cocos2d::CCDirector *v3; // rax cocos2d::CCDirector *v4; // rax cocos2d::CCDirector *v5; // rax float v6; // xmm0_4 bool m_bRectRotated; // r12 cocos2d::CCDirector *v8; // rax float v9; // xmm0_4 cocos2d::CCDirector *v10; // rax float v11; // xmm0_4 cocos2d::CCDirector *v12; // rax float v13; // xmm0_4 cocos2d::CCDirector *v14; // rax float v15; // xmm0_4 cocos2d::CCRect v17; // [rsp+8h] [rbp-58h] BYREF cocos2d::CCPoint v18; // [rsp+18h] [rbp-48h] BYREF cocos2d::CCSize v19; // [rsp+20h] [rbp-40h] BYREF float v20; // [rsp+28h] [rbp-38h] float height; // [rsp+2Ch] [rbp-34h] float width; // [rsp+30h] [rbp-30h] float x; // [rsp+34h] [rbp-2Ch] m_pobTexture = a1->m_pobTexture; x = a1->m_obRect.origin.x; v2 = cocos2d::CCDirector::sharedDirector(); v20 = sub_1004849C0(v2) * x; x = a1->m_obRect.origin.y; v3 = cocos2d::CCDirector::sharedDirector(); x = x * sub_1004849C0(v3); width = a1->m_obRect.size.width; v4 = cocos2d::CCDirector::sharedDirector(); width = width * sub_1004849C0(v4); height = a1->m_obRect.size.height; v5 = cocos2d::CCDirector::sharedDirector(); v6 = sub_1004849C0(v5); sub_10028CC00( &v17, COERCE_DOUBLE((unsigned __int64)LODWORD(v20)), COERCE_DOUBLE((unsigned __int64)LODWORD(x)), width, height * v6); m_bRectRotated = a1->m_bRectRotated; x = a1->m_obUnflippedOffsetPositionFromCenter.x; v8 = cocos2d::CCDirector::sharedDirector(); v9 = sub_1004849C0(v8); x = v9 * x; width = a1->m_obUnflippedOffsetPositionFromCenter.y; v10 = cocos2d::CCDirector::sharedDirector(); v11 = sub_1004849C0(v10); sub_10028CBE0(&v18, x, width * v11); x = a1->m_obContentSize.width; v12 = cocos2d::CCDirector::sharedDirector(); v13 = sub_1004849C0(v12); x = v13 * x; width = a1->m_obContentSize.height; v14 = cocos2d::CCDirector::sharedDirector(); v15 = sub_1004849C0(v14); sub_10028CBF0(&v19, x, width * v15); return cocos2d::CCSpriteFrame::createWithTexture(m_pobTexture, &v17, m_bRectRotated, &v18, &v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source