// // cocos2d::CCSizeFromString from 0x7c83c4 to 0x7c845a (150 bytes) // // 3 xrefs: // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3cd2 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3d32 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3d86 // // 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 12:00:27 +0000 // cocos2d *__fastcall cocos2d::CCSizeFromString(cocos2d *this, const char *a2) { const char *v4; // r0 float v5; // s16 const char *v6; // r0 float v7; // s15 float v9[2]; // [sp+0h] [bp-1Ch] BYREF void *v10[3]; // [sp+8h] [bp-14h] BYREF cocos2d::CCSize::CCSize(this, (const cocos2d::CCSize *)&unk_D2F08C); memset(v10, 0, sizeof(v10)); if ( sub_7C7E60(a2, v10) ) { if ( (*(_BYTE *)v10[0] & 1) != 0 ) v4 = *((const char **)v10[0] + 2); else v4 = (char *)v10[0] + 1; v5 = atof(v4); if ( (*((_BYTE *)v10[0] + (unsigned int)&byte_9[3]) & 1) != 0 ) v6 = *((const char **)v10[0] + 5); else v6 = (char *)v10[0] + 13; v7 = atof(v6); cocos2d::CCSize::CCSize(v9, v5, v7); cocos2d::CCSize::operator=((float *)this, v9); } std::__vector_base::~__vector_base((int)v10); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source