// // cocos2d::CCString::createWithData from 0x1003064fc to 0x100306594 (152 bytes) // // 1 xrefs: // > cocos2d::CCString::createWithContentsOfFile @ 0x100306678 // // 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 11:03:08 +0000 // void *__fastcall cocos2d::CCString::createWithData(const void *a1, size_t a2) { char *v4; // x0 char *v5; // x19 void *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 = sub_1003064AC((__int128 *)__p); if ( v9 < 0 ) operator delete(__p[0]); free(v5); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source