// // GJGarageLayer::onArrow from 0x1003a1700 to 0x1003a17c4 (196 bytes) // // 1 xrefs: // > GJGarageLayer::setupIconSelect @ 0x1003a0e98 // // 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:03:46 +0000 // __int64 __fastcall GJGarageLayer::onArrow(__int64 a1, __int64 a2) { __int64 v3; // x0 int v4; // w20 __int64 v5; // x0 __int64 active; // x0 __int64 v7; // x0 int v8; // w22 int v9; // w8 int v10; // w9 int v11; // w10 int v12; // w8 unsigned int v13; // w10 __int64 v14; // x1 unsigned int *v16; // [xsp+8h] [xbp-28h] BYREF v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = v3; v5 = GameManager::sharedState(v3); active = GameManager::activeIconForType(v5, *(unsigned int *)(a1 + 516)); v7 = GameManager::sharedState(active); v8 = GameManager::countForType(v7, *(unsigned int *)(a1 + 516)); v16 = (unsigned int *)(a1 + 516); v9 = *((_DWORD *)sub_1001E71D0(a1 + 520, (int *)(a1 + 516), (__int64)&unk_10076DCF5, &v16) + 8); v10 = v8 / 36; if ( v4 == 1 ) v11 = 1; else v11 = -1; v12 = v9 + v11; if ( v12 <= v10 ) v13 = v12; else v13 = 0; if ( v12 >= 0 ) v14 = v13; else v14 = (unsigned int)v10; return GJGarageLayer::setupPage(a1, v14, *(unsigned int *)(a1 + 516)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source