// // sub_D16898 from 0xd16898 to 0xd168e0 (72 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0xb00898 // > cocos2d::CCParticleSystem::initWithFile @ 0xb019f4 // > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0xb050a4 // // 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_D16898(__int64 *a1, unsigned __int8 a2, unsigned __int64 a3) { __int64 v3; // x4 __int64 result; // x0 __int64 v5; // x3 unsigned __int64 v6; // x3 v3 = *a1; result = -1; v5 = *(_QWORD *)(v3 - 24); if ( v5 ) { v6 = v5 - 1; if ( a3 > v6 ) result = v6; else result = a3; while ( result != -1 && *(unsigned __int8 *)(v3 + result) != a2 ) --result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source