// // cocos2d::CCTexture2D::stringForFormat from 0x7ff6c8 to 0x7ff71c (84 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:18 +0000 // const char *__fastcall cocos2d::CCTexture2D::stringForFormat(cocos2d::CCTexture2D *this) { const char *result; // r0 switch ( *((_DWORD *)this + 14) ) { case 0: result = "RGBA8888"; break; case 1: result = "RGB888"; break; case 2: result = "RGB565"; break; case 3: result = "A8"; break; case 4: result = "I8"; break; case 5: result = "AI88"; break; case 6: result = "RGBA4444"; break; case 7: result = "RGB5A1"; break; case 8: result = "PVRTC4"; break; case 9: result = "PVRTC2"; break; default: result = nullptr; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source