// // GJBaseGameLayer::getParticleKey from 0x1402403c0 to 0x14024053e (382 bytes) // // 3 xrefs: // > GameObject::createAndAddParticle @ 0x140198c02 // > GJBaseGameLayer::createParticle @ 0x140240697 // > @ 0x1406ce3b8 // // 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=2 _QWORD *__fastcall GJBaseGameLayer::getParticleKey( __int64 a1, _QWORD *a2, unsigned int a3, unsigned __int64 a4, unsigned int a5, unsigned int a6) { _BYTE *v9; // rax size_t v10; // rbx size_t v11; // r8 void **v12; // rdx void *v13; // rcx __int128 v15; // [rsp+20h] [rbp-278h] BYREF void *Block[2]; // [rsp+38h] [rbp-260h] BYREF __int128 v17; // [rsp+48h] [rbp-250h] _BYTE v18[528]; // [rsp+60h] [rbp-238h] BYREF fmt::BasicWriter::BasicWriter(v18); fmt::BasicWriter::operator<<(v18, a3); v15 = a4; fmt::BasicWriter::operator<<(v18, &v15); fmt::BasicWriter::operator<<(v18, a5); fmt::BasicWriter::operator<<(v18, a6); v9 = (_BYTE *)fmt::BasicWriter::c_str(v18); *(_OWORD *)Block = 0; v17 = 0; v10 = -1; v11 = -1; do ++v11; while ( v9[v11] ); sub_14003A930(Block, v9, v11); v12 = Block; if ( *((_QWORD *)&v17 + 1) > 0xFu ) v12 = (void **)Block[0]; *(_OWORD *)a2 = 0; a2[2] = 0; a2[3] = 0; do ++v10; while ( *((_BYTE *)v12 + v10) ); sub_14003A930(a2, v12, v10); if ( *((_QWORD *)&v17 + 1) > 0xFu ) { v13 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v17 + 1) + 1LL) >= 0x1000 ) { v13 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v13); } fmt::BasicWriter::~BasicWriter(v18); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source