// // cocos2d::CCTexture2D::initWithPVRFile from 0x10046dc40 to 0x10046dd0a (202 bytes) // // 1 xrefs: // > cocos2d::CCTextureCache::addPVRImage @ 0x1006c14a4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:32 +0000 // __int64 __fastcall cocos2d::CCTexture2D::initWithPVRFile(__int64 a1, const char *a2) { void *v2; // rbx __int64 result; // rax int v4; // ecx __int64 v5; // rdx unsigned int v6; // r12d float v7[10]; // [rsp+8h] [rbp-28h] BYREF v2 = operator new(0x158u); cocos2d::CCTexturePVR::CCTexturePVR((__int64)v2); result = cocos2d::CCTexturePVR::initWithContentsOfFile((__int64)v2, a2); if ( (_BYTE)result ) { *((_BYTE *)v2 + 331) = 1; *(_QWORD *)(a1 + 76) = 0x3F8000003F800000LL; v4 = *((_DWORD *)v2 + 79); *(_DWORD *)(a1 + 64) = v4; v5 = *((_QWORD *)v2 + 40); *(_QWORD *)(a1 + 68) = v5; v6 = result; sub_100278260(v7, (float)v4, (float)(int)v5); sub_100278660((_QWORD *)(a1 + 84), v7); *(_BYTE *)(a1 + 92) = byte_100BE3CD4; *(_DWORD *)(a1 + 60) = *((_DWORD *)v2 + 83); *(_BYTE *)(a1 + 93) = *((_DWORD *)v2 + 78) >= 2u; cocos2d::CCObject::release(v2); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source