// // cocos2d::CCPointFromString from 0x1001a6808 to 0x1001a68bc (180 bytes) // // 5 xrefs: // > SpriteDescription::initDescription @ 0x1001b0790 // > SpriteDescription::initDescription @ 0x1001b07d4 // > SpriteDescription::initDescription @ 0x1001b0818 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc46c // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc644 // // 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::CCPoint __fastcall cocos2d::CCPointFromString(const char *a1) { __int64 *v1; // x8 __int64 *v3; // x19 __int64 v4; // x20 const char *v5; // x0 float v6; // s8 const char *v7; // x0 __n128 v8; // q0 __n128 v9; // q1 _QWORD v12[3]; // [xsp+0h] [xbp-40h] BYREF void **v13; // [xsp+18h] [xbp-28h] BYREF cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v3 = v1; sub_1000229B8(v1, &qword_10086BFC0); memset(v12, 0, sizeof(v12)); if ( (sub_1001A64AC((char *)a1, (__int64)v12) & 1) != 0 ) { v4 = v12[0]; v5 = (const char *)v12[0]; if ( *(char *)(v12[0] + 23LL) < 0 ) v5 = *(const char **)v12[0]; v6 = atof(v5); v7 = (const char *)(v4 + 24); if ( *(char *)(v4 + 47) < 0 ) v7 = *(const char **)v7; v8.n128_f64[0] = atof(v7); v9.n128_f32[0] = v8.n128_f64[0]; v8.n128_f32[0] = v6; sub_100022980(v8, v9, &v13); sub_1000229D0(v3, (double *)&v13); } v13 = (void **)v12; sub_1000177FC(&v13); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source