// // cocos2d::CCString::createWithData from 0x100268e98 to 0x100268f30 (152 bytes) // // 1 xrefs: // > cocos2d::CCString::createWithContentsOfFile @ 0x100269014 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCString *__fastcall cocos2d::CCString::createWithData(const unsigned __int8 *a1, unsigned __int64 a2) { char *v4; // x0 char *v5; // x19 cocos2d::CCString *v6; // x20 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v9; // [xsp+1Fh] [xbp-21h] if ( !a1 ) return nullptr; v4 = (char *)malloc(a2 + 1); if ( !v4 ) return nullptr; v5 = v4; v4[a2] = 0; if ( a2 ) memcpy(v4, a1, a2); sub_100009900(__p, v5); v6 = (cocos2d::CCString *)sub_100268E48((__int128 *)__p); if ( v9 < 0 ) operator delete(__p[0]); free(v5); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source