// // sub_10051E6A8 from 0x10051e6a8 to 0x10051e718 (112 bytes) // // 2 xrefs: // > PlayLayer::tryShowDeathMarkers @ 0x10051e380 // > PlayLayer::tryShowDeathMarkers @ 0x10051e3e0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:07:10 +0000 // __int64 __fastcall sub_10051E6A8(int a1) { __int64 v2; // x0 __int64 v3; // x19 _QWORD *v4; // x0 _QWORD *v5; // x0 v2 = GameManager::sharedState(); if ( GameManager::getGameVariable(v2, "0206") ) return 0; if ( a1 ) v3 = 268; else v3 = 267; v4 = (_QWORD *)EditorSFXManager::sharedState(); if ( ((unsigned __int8)EditorSFXManager::hasSoundsForAction(v4, v3) & 1) == 0 ) { v5 = (_QWORD *)EditorSFXManager::sharedState(); if ( (unsigned int)EditorSFXManager::hasSoundsForAction(v5, 266) ) return 266; else return 0; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source