// // SpawnTriggerGameObject::updateRemapKeys from 0x1404b90f0 to 0x1404b91eb (251 bytes) // // 8 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x140215db8 // > GJBaseGameLayer::playerTouchedTrigger @ 0x1402180cd // > GJBaseGameLayer::checkSpawnObjects @ 0x14021ab05 // > GJBaseGameLayer::spawnObject @ 0x14021b0f7 // > GJBaseGameLayer::spawnObject @ 0x14021b16a // > @ 0x1406a8a0c // > @ 0x1406a8a1c // > @ 0x1406dcc8c // // 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 // void SpawnTriggerGameObject::updateRemapKeys(SpawnTriggerGameObject *a1, std::vector *const a2) { int *p_m_remapKey; // r8 std::vector *p_m_remapKeys; // rdi std::_Simple_types::value_type *Myfirst; // rax std::_Vector_val>::pointer Mylast; // rdx std::_Vector_val>::pointer v8; // rdx int v9; // eax int v10; // [rsp+30h] [rbp+8h] BYREF p_m_remapKey = &a1->m_remapKey; if ( a1->m_remapKey <= 0 ) { if ( !a1->m_resetRemap ) sub_1400846D0((void **)&a1->m_remapKeys._Mypair._Myval2._Myfirst, (char **)a2); } else { p_m_remapKeys = &a1->m_remapKeys; Myfirst = a1->m_remapKeys._Mypair._Myval2._Myfirst; Mylast = a1->m_remapKeys._Mypair._Myval2._Mylast; if ( Myfirst != Mylast ) { a1->m_remapKeys._Mypair._Myval2._Mylast = Myfirst; Mylast = Myfirst; } if ( Mylast == a1->m_remapKeys._Mypair._Myval2._Myend ) { sub_140063270((const void **)&a1->m_remapKeys._Mypair._Myval2._Myfirst, Mylast, p_m_remapKey); } else { *Mylast = *p_m_remapKey; ++a1->m_remapKeys._Mypair._Myval2._Mylast; } if ( !a1->m_resetRemap ) sub_1404C4AE0( p_m_remapKeys, a1->m_remapKeys._Mypair._Myval2._Mylast, a2->_Mypair._Myval2._Myfirst, a2->_Mypair._Myval2._Mylast - a2->_Mypair._Myval2._Myfirst); if ( a2->_Mypair._Myval2._Myfirst == a2->_Mypair._Myval2._Mylast || a1->m_resetRemap ) { v8 = a1->m_remapKeys._Mypair._Myval2._Mylast; v9 = -a1->m_uniqueID; v10 = v9; if ( v8 == a1->m_remapKeys._Mypair._Myval2._Myend ) { sub_140063270((const void **)&a1->m_remapKeys._Mypair._Myval2._Myfirst, v8, &v10); } else { *v8 = v9; ++a1->m_remapKeys._Mypair._Myval2._Mylast; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source