// // GJBaseGameLayer::registerSpawnRemap from 0x1001edbe8 to 0x1001edcac (196 bytes) // // 1 xrefs: // > GJBaseGameLayer::generateSpawnRemap @ 0x1001dfcd0 // // 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 GJBaseGameLayer::registerSpawnRemap(GJBaseGameLayer *a1, std::vector *a2) { std::__vector_base::pointer begin; // x20 ChanceObject *end; // x22 int m_chance; // w23 std::__vector_base>::pointer v7; // x0 _OWORD v9[2]; // [xsp+0h] [xbp-60h] BYREF int v10; // [xsp+20h] [xbp-40h] memset(v9, 0, sizeof(v9)); v10 = 1065353216; sub_1001EDBA4((__int64)&a1->m_spawnRemapTriggers); sub_100017A98((__int64)v9); begin = a2->__begin_; end = a2->__end_; if ( a2->__begin_ != end ) { do { m_chance = begin->m_chance; v7 = a1->m_spawnRemapTriggers.__end_ - 1; *(_QWORD *)&v9[0] = begin; *((_DWORD *)sub_10001D150((unsigned __int64)v7, &begin->m_groupID, (__int64)&unk_10063A31C, (_DWORD **)v9) + 5) = m_chance; ++begin; } while ( begin != end ); } return -858993459 * ((unsigned __int64)((char *)a1->m_spawnRemapTriggers.__end_ - (char *)a1->m_spawnRemapTriggers.__begin_) >> 3) - 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source