// // GJGarageLayer::selectTab from 0x100304ab4 to 0x100304b8c (216 bytes) // // 2 xrefs: // > GJGarageLayer::setupIconSelect @ 0x100304388 // > GJGarageLayer::onSelectTab @ 0x1003049ec // // 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 __fastcall GJGarageLayer::selectTab(GJGarageLayer *a1, IconType a2) { unsigned int v4; // w21 CCMenuItemToggler *v5; // x22 int v6; // w0 _BOOL8 v7; // x23 _QWORD *v8; // x0 IconType v9; // [xsp+0h] [xbp-40h] BYREF IconType *v10; // [xsp+8h] [xbp-38h] BYREF v9 = a2; if ( (unsigned int)sub_10024A36C((__int64)a1->m_tabButtons) ) { v4 = 0; do { v5 = (CCMenuItemToggler *)sub_10024A388((__int64)a1->m_tabButtons, v4); v6 = ((__int64 (__fastcall *)(CCMenuItemToggler *))v5->getTag)(v5); v7 = v6 != a2; CCMenuItemToggler::toggle(v5, v6 == a2); ((void (__fastcall *)(CCMenuItemToggler *, _BOOL8))v5->setEnabled)(v5, v7); ++v4; } while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_tabButtons) ); } v10 = &v9; v8 = sub_1001A6048((__int64)&a1->m_iconPages, (int *)&v9, (__int64)&unk_100644D9D, (unsigned int **)&v10); GJGarageLayer::setupPage(a1, *((_DWORD *)v8 + 8), v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source