// // sub_7749FC from 0x7749fc to 0x774a2e (50 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0x5dcb34 // > cocos2d::CCParticleSystem::initWithFile @ 0x5dce58 // > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x5de95e // // 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 // int __fastcall sub_7749FC(int *a1, int a2, unsigned int a3) { int v3; // r4 int v4; // r3 int result; // r0 unsigned int v6; // r3 unsigned __int8 *v7; // r2 int v8; // t1 v3 = *a1; v4 = *(_DWORD *)(*a1 - 12); if ( v4 ) { v6 = v4 - 1; if ( a3 > v6 ) v7 = (unsigned __int8 *)(v3 + v6); else v7 = (unsigned __int8 *)(v3 + a3); while ( 1 ) { result = (int)&v7[-v3]; if ( v7 == (unsigned __int8 *)(v3 - 1) ) break; v8 = *v7--; if ( v8 == a2 ) return result; } } return -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source