// // GJGarageLayer::updatePlayerColors from 0x8ba334 to 0x8ba49c (360 bytes) // // 3 xrefs: // > GJGarageLayer::playerColorChanged @ 0x8ba4d0 // > GJGarageLayer::init @ 0x8c20bc // > @ 0xd0090 // // 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 12:56:27 +0000 // __int64 __fastcall GJGarageLayer::updatePlayerColors(GJGarageLayer *this) { __int64 v2; // x22 GameManager *v3; // x0 SimplePlayer *v4; // x22 GameManager *v5; // x23 __int64 v6; // x0 int v7; // w0 GameManager *v8; // x23 __int64 v9; // x0 unsigned __int64 v10; // x0 GameManager *v11; // x0 __int64 v12; // x0 GameManager *v13; // x0 __int64 v14; // x22 GameManager *v15; // x23 __int64 v16; // x0 unsigned __int64 v17; // x0 __int16 v19; // [xsp+48h] [xbp+48h] BYREF char v20; // [xsp+4Ah] [xbp+4Ah] __int16 v21; // [xsp+50h] [xbp+50h] BYREF char v22; // [xsp+52h] [xbp+52h] v2 = *((_QWORD *)this + 59); v3 = (GameManager *)*(unsigned __int8 *)(GameManager::sharedState(_stack_chk_guard) + 912); *(_BYTE *)(v2 + 660) = (_BYTE)v3; v4 = *((SimplePlayer **)this + 59); v5 = (GameManager *)GameManager::sharedState(v3); v6 = GameManager::sharedState(v5); v7 = GameManager::colorForIdx(v5, *(_DWORD *)(v6 + 812) - *(_DWORD *)(v6 + 816)); v20 = BYTE2(v7); v19 = v7; v8 = (GameManager *)GameManager::sharedState((GameManager *)v7); v9 = GameManager::sharedState(v8); v10 = GameManager::colorForIdx(v8, *(_DWORD *)(v9 + 824) - *(_DWORD *)(v9 + 828)); v21 = v10; v22 = BYTE2(v10); v11 = (GameManager *)SimplePlayer::setColors(v4, (__int64)&v19, (__int64)&v21); v12 = GameManager::sharedState(v11); v13 = (GameManager *)(unsigned int)(*(_DWORD *)(v12 + 836) - *(_DWORD *)(v12 + 840)); if ( ((unsigned int)v13 & 0x80000000) != 0 ) { SimplePlayer::disableCustomGlowColor(*((_QWORD *)this + 59)); } else { v14 = *((_QWORD *)this + 59); v15 = (GameManager *)GameManager::sharedState(v13); v16 = GameManager::sharedState(v15); v17 = GameManager::colorForIdx(v15, *(_DWORD *)(v16 + 836) - *(_DWORD *)(v16 + 840)); v21 = v17; v22 = BYTE2(v17); SimplePlayer::enableCustomGlowColor(v14, (__int64)&v21); } SimplePlayer::updateColors(*((SimplePlayer **)this + 59)); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source