// // cocos2d::CCTextureETC::initWithFile from 0x802eec to 0x802f46 (90 bytes) // // 1 xrefs: // > cocos2d::CCTexture2D::initWithETCFile @ 0x7ff49e // // 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:21 +0000 // int __fastcall cocos2d::CCTextureETC::initWithFile(cocos2d::CCTextureETC *this, const char *a2) { int v4; // r0 char *v5; // r1 int Texture; // r5 char v8; // [sp+0h] [bp-14h] BYREF char v9; // [sp+1h] [bp-13h] BYREF char *v10; // [sp+8h] [bp-Ch] v4 = cocos2d::CCFileUtils::sharedFileUtils(this); (*(void (__fastcall **)(char *, int, const char *, _DWORD))(*(_DWORD *)v4 + 24))(&v8, v4, a2, 0); if ( (v8 & 1) != 0 ) v5 = v10; else v5 = &v9; Texture = cocos2d::CCTextureETC::loadTexture(this, v5); if ( (v8 & 1) != 0 ) operator delete(v10); return Texture; }
GD Web Decomp Icon

GD Web Decomp

Raw Source