// // sub_1800656E0 from 0x1800656e0 to 0x18006576c (140 bytes) // // 12 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800685c0 // > cocos2d::CCParticleSystem::initWithFile @ 0x1800689a1 // > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f861 // > cocos2d::CCFileUtils::getPathForFilename @ 0x18007050e // > sub_180073010 @ 0x18007311a // > cocos2d::CCTMXMapInfo::internalInit @ 0x1800af8cb // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b10f9 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b118d // > cocos2d::CCActionTween::operator= @ 0x1800cba5f // > cocos2d::CCPrettyPrinter::operator= @ 0x1800ceb8e // > cocos2d::CCPrettyPrinter::operator= @ 0x1800ceb9b // > @ 0x1801b3b64 // // 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 // __int64 __fastcall sub_1800656E0(__int64 a1, __int64 a2) { unsigned __int64 v4; // rdx _QWORD *v5; // rcx if ( a1 != a2 ) { v4 = *(_QWORD *)(a1 + 24); if ( v4 > 0xF ) { v5 = *(_QWORD **)a1; if ( v4 + 1 >= 0x1000 ) { if ( (unsigned __int64)v5 - *(v5 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v5 = (_QWORD *)*(v5 - 1); } j_j_free_0(v5); } *(_QWORD *)(a1 + 24) = 15; *(_QWORD *)(a1 + 16) = 0; *(_BYTE *)a1 = 0; *(_OWORD *)a1 = *(_OWORD *)a2; *(_OWORD *)(a1 + 16) = *(_OWORD *)(a2 + 16); *(_QWORD *)(a2 + 16) = 0; *(_QWORD *)(a2 + 24) = 15; *(_BYTE *)a2 = 0; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source