// // EditorSFXManager::findBinding from 0x1401853d0 to 0x140185467 (151 bytes) // // 10 xrefs: // > EditorSFXActionConfigLayer::init @ 0x140183bcd // > EditorSFXActionConfigLayer::refreshRows @ 0x140183dcc // > EditorSFXActionConfigLayer::refreshModeButtons @ 0x14018484d // > EditorSFXActionConfigLayer::onToggleMode @ 0x1401848e2 // > EditorSFXActionConfigLayer::onPreviewSound @ 0x140184aa5 // > EditorSFXActionConfigLayer::onEditSound @ 0x140184b65 // > EditorSFXManager::playAction @ 0x140185611 // > EditorSFXManager::removeSoundAt @ 0x140185b24 // > EditorSFXManager::deserializeAll @ 0x14018940d // > EditorSoundsLayer::buildContentForTab @ 0x14019ddc6 // // This function is hookable on this platform (idp: pc, 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:27:38 +0000 // __int64 __fastcall EditorSFXManager::findBinding(_QWORD *a1, int a2) { __int64 v2; // r8 __int64 *v3; // rcx __int64 v4; // rax __int64 v5; // rcx v2 = a1[1]; v3 = (__int64 *)(a1[3] + 16 * (a1[6] & (0x100000001B3LL * ((0x100000001B3LL * (BYTE2(a2) ^ (0x100000001B3LL * (BYTE1(a2) ^ (0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)))))) ^ HIBYTE(a2))))); v4 = v3[1]; if ( v4 != v2 ) { v5 = *v3; if ( a2 == *(_DWORD *)(v4 + 16) ) goto LABEL_7; while ( v4 != v5 ) { v4 = *(_QWORD *)(v4 + 8); if ( a2 == *(_DWORD *)(v4 + 16) ) goto LABEL_7; } } v4 = 0; LABEL_7: if ( !v4 ) v4 = v2; if ( v4 == v2 ) return 0; else return *(_QWORD *)(v4 + 24); }