// // GJBaseGameLayer::getParticleKey2 from 0x140240540 to 0x1402405e9 (169 bytes) // // 4 xrefs: // > GJBaseGameLayer::createParticle @ 0x140240874 // > GJBaseGameLayer::claimParticle @ 0x140240adc // > GJBaseGameLayer::unclaimParticle @ 0x140240cf2 // > @ 0x1406ce3c4 // // 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 // // Hidden C++ exception states: #wind=1 _QWORD *__fastcall GJBaseGameLayer::getParticleKey2(__int64 a1, _QWORD *a2, const char *a3) { const char *v5; // rdx cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // r8 v5 = a3; if ( *((_QWORD *)a3 + 3) > 0xFu ) v5 = *(const char **)a3; v6 = cocos2d::CCString::createWithFormat("%s%s", v5, "#2"); CString = cocos2d::CCString::getCString(v6); *(_OWORD *)a2 = 0; a2[2] = 0; a2[3] = 0; v8 = -1; do ++v8; while ( CString[v8] ); sub_14003A930(a2, CString, v8); sub_14003A830((__int64)a3); return a2; }