// // EditorSoundBrowserLayer::setMode from 0xcc9550 to 0xcc9614 (196 bytes) // // 7 xrefs: // > EditorSoundBrowserLayer::init @ 0xcca2e8 // > EditorSoundBrowserLayer::init @ 0xcca344 // > EditorSoundBrowserLayer::onSelectMode @ 0xcca814 // > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccabac // > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccac9c // > EditorSoundBrowserLayer::onConfigCopiedToMyLists @ 0xccad34 // > @ 0x70120 // // 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 13:06:22 +0000 // __int64 __fastcall EditorSoundBrowserLayer::setMode(EditorSoundBrowserLayer *this, int a2) { __int64 v4; // x0 cocos2d::CCArray *v5; // x0 unsigned int v6; // w19 __int64 v7; // x22 unsigned int v8; // w1 __int64 v9; // x21 __int64 v10; // x0 unsigned int (__fastcall *v11)(__int64); // x1 void (__fastcall *v12)(__int64, _BOOL8); // x22 _BOOL8 v13; // x1 v4 = *((_QWORD *)this + 146); *((_DWORD *)this + 262) = a2; *((_DWORD *)this + 263) = 0; *((_DWORD *)this + 278) = 0; if ( v4 ) { v5 = *((cocos2d::CCArray **)this + 147); if ( v5 ) { v6 = 0; while ( v6 < (unsigned int)cocos2d::CCArray::count(v5) ) { v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 146), v6); v8 = v6++; v9 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 147), v8); v10 = v7; v11 = *(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v7 + 64LL); v12 = *(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v9 + 344LL); v13 = v11(v10) == a2; v12(v9, v13); v5 = *((cocos2d::CCArray **)this + 147); } } } EditorSoundBrowserLayer::updateFooterButtonVisibility((__int64)this); return EditorSoundBrowserLayer::loadCurrentPage(this, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source