// // sub_1004D9070 from 0x1004d9070 to 0x1004d911d (173 bytes) // // 2 xrefs: // > @ 0x100953d90 // > @ 0x100954dc8 // // 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 // __int64 __fastcall sub_1004D9070(__int64 a1, __m128 a2, __int64 a3, __int64 a4) { __int64 v4; // rbx cocos2d::CCSpriteFrameCache *v5; // rax const char *v6; // rsi cocos2d::CCSpriteFrame *v7; // rax _mm_storel_ps((double *)(a1 + 16), a2); *(_QWORD *)(a1 + 24) = a4; *(_BYTE *)(a1 + 32) = 1; v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 1056LL))(*(_QWORD *)(a1 + 8)); v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v6 = "GJ_hsv2Btn_001.png"; if ( *(float *)(a1 + 16) == *(float *)&xmmword_1009A20E8 && *(float *)(a1 + 20) == *((float *)&xmmword_1009A20E8 + 1) && *(float *)(a1 + 24) == *((float *)&xmmword_1009A20E8 + 2) && *(_BYTE *)(a1 + 28) == BYTE12(xmmword_1009A20E8) ) { v6 = "GJ_hsv2Btn_001.png"; if ( *(_BYTE *)(a1 + 29) == BYTE13(xmmword_1009A20E8) ) v6 = "GJ_hsvBtn_001.png"; } v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6); return (*(__int64 (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v4 + 1144LL))(v4, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source