// // GJBaseGameLayer::registerSpawnRemap from 0x5bf64c to 0x5bf6f2 (166 bytes) // // 1 xrefs: // > GJBaseGameLayer::generateSpawnRemap @ 0x5bf7b8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:46 +0000 // int __fastcall GJBaseGameLayer::registerSpawnRemap(int a1, unsigned int **a2) { _DWORD *v4; // r0 unsigned int *v5; // r5 unsigned int *v6; // r8 unsigned int *v7; // r1 int v9[5]; // [sp+0h] [bp-18h] BYREF v4 = *(_DWORD **)(a1 + 1496); memset(v9, 0, 16); v9[4] = 1065353216; if ( (unsigned int)v4 >= *(_DWORD *)(a1 + 1500) ) { std::vector>::__push_back_slow_path>( (int **)(a1 + 1492), v9); } else { if ( v4 ) std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__hash_table( v4, v9); *(_DWORD *)(a1 + 1496) += 20; } std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)v9); v5 = *a2; v6 = a2[1]; while ( v5 != v6 ) { v7 = v5; v5 += 4; *std::unordered_map::operator[](*(_DWORD *)(a1 + 1496) - 20, v7) = *(v5 - 2); } return -858993459 * ((*(_DWORD *)(a1 + 1496) - *(_DWORD *)(a1 + 1492)) >> 2) - 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source