// // GJPathSprite::init from 0x6d23a4 to 0x6d241c (120 bytes) // // 1 xrefs: // > GJPathSprite::create @ 0x6d2462 // // 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 11:57:03 +0000 // int __fastcall GJPathSprite::init(GJPathSprite *this, const char *a2, int a3, int a4) { cocos2d::CCString *v6; // r0 const char *CString; // r6 size_t v8; // r0 char *v9; // r1 int v10; // r6 int v12[2]; // [sp+0h] [bp-10h] BYREF char *v13; // [sp+8h] [bp-8h] int v14; // [sp+Ch] [bp-4h] v14 = a4; v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"pathIcon_%02d_001.png", a2); v12[0] = 0; v12[1] = 0; v13 = nullptr; CString = (const char *)cocos2d::CCString::getCString(v6); v8 = strlen(CString); std::string::__init(v12, CString, v8); if ( (v12[0] & 1) != 0 ) v9 = v13; else v9 = (char *)v12 + 1; v10 = cocos2d::CCSprite::initWithSpriteFrameName(this, v9); if ( v10 ) *((_DWORD *)this + 127) = a2; std::string::~string((int)v12); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source