// // cocos2d::CCTextureETC::initWithFile from 0xda9890 to 0xda9930 (160 bytes) // // 2 xrefs: // > cocos2d::CCTexture2D::initWithETCFile @ 0xda28b4 // > @ 0x42970 // // This function is hookable on this platform (idp: arm, 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 13:08:34 +0000 // __int64 __fastcall cocos2d::CCTextureETC::initWithFile(cocos2d::CCTextureETC *this, const char *a2) { __int64 v3; // x0 char *v4; // x1 unsigned int Texture; // w19 char *v8[2]; // [xsp+40h] [xbp+40h] BYREF char *v9; // [xsp+50h] [xbp+50h] v3 = cocos2d::CCFileUtils::sharedFileUtils(_stack_chk_guard); (*(void (__fastcall **)(char **__return_ptr, __int64, const char *, _QWORD))(*(_QWORD *)v3 + 48LL))(v8, v3, a2, 0); v4 = (char *)v8 + 1; if ( ((__int64)v8[0] & 1) != 0 ) v4 = v9; Texture = cocos2d::CCTextureETC::loadTexture(this, v4); if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v9); return Texture; }
GD Web Decomp Icon

GD Web Decomp

Raw Source