// // sub_180065350 from 0x180065350 to 0x180065422 (210 bytes) // // 5 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800685b4 // > cocos2d::CCParticleSystem::initWithDictionary @ 0x180068634 // > @ 0x180139fec // > @ 0x180139ffc // > @ 0x1801b3b28 // // 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_180065350(__int64 a1, _QWORD *a2, unsigned __int64 *a3) { _QWORD *v3; // rdi const void *v5; // r9 __int64 v6; // rcx unsigned __int64 v7; // rdx unsigned __int64 Size; // rbp _QWORD *v9; // rax char *v10; // rbx v3 = a2; v5 = a3; if ( a3[3] > 0xF ) v5 = (const void *)*a3; v6 = a2[2]; v7 = a2[3]; Size = a3[2]; if ( Size > v7 - v6 ) { v3 = sub_180007900(v3, Size, 0, v5, Size); } else { v3[2] = v6 + Size; v9 = v3; if ( v7 > 0xF ) v9 = (_QWORD *)*v3; v10 = (char *)v9 + v6; memmove((char *)v9 + v6, v5, Size); v10[Size] = 0; } *(_OWORD *)a1 = 0; *(_QWORD *)(a1 + 16) = 0; *(_QWORD *)(a1 + 24) = 0; *(_OWORD *)a1 = *(_OWORD *)v3; *(_OWORD *)(a1 + 16) = *((_OWORD *)v3 + 1); v3[2] = 0; v3[3] = 15; *(_BYTE *)v3 = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source