// // SimplePlayer::updateColors from 0x8b9fb0 to 0x8ba278 (712 bytes) // // 19 xrefs: // > GJThreadCell::loadFromThread @ 0x73e3d0 // > GJScoreCell::loadFromScore @ 0x74345c // > GJCompactUserCell::buildUserRow @ 0x744980 // > GJLevelScoreCell::loadFromScore @ 0x7495a8 // > CommentCell::loadFromComment @ 0x74bda8 // > GJGarageLayer::toggleGlow @ 0x8ba2b4 // > SimplePlayer::setColors @ 0x8ba330 // > GJGarageLayer::updatePlayerColors @ 0x8ba460 // > SimplePlayer::setColor @ 0x8ba50c // > SimplePlayer::setSecondColor @ 0x8ba548 // > GJItemIcon::darkenStoreItem @ 0x8ba9b0 // > GJGarageLayer::onSelect @ 0x8bca8c // > GJBaseGameLayer::playExitDualEffect @ 0x99eb84 // > ProfilePage::loadPageFromUserInfo @ 0xa59e34 // > MapSelectLayer::init @ 0xac4300 // > CharacterColorPage::updateIconColors @ 0xb51ad4 // > sub_C630DC @ 0xc631c8 // > ThreadViewPopup::mountVirtualRow @ 0xc8b414 // > @ 0x9d420 // // 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 SimplePlayer::updateColors(SimplePlayer *this) { unsigned __int8 *v2; // x0 int v3; // w27 int v4; // w26 int v5; // w25 unsigned __int8 *v6; // x0 int v7; // w23 int v8; // w22 unsigned __int8 v9; // w24 unsigned __int64 v10; // x0 int v11; // w1 __int64 v12; // x0 __int64 v13; // x0 GJRobotSprite *v14; // x0 GJRobotSprite *v15; // x0 GJRobotSprite *v17; // x0 GJRobotSprite *v18; // x0 unsigned __int64 v19; // x0 int v20; // w2 int v21; // [xsp+70h] [xbp+70h] int v22; // [xsp+78h] [xbp+78h] __int64 v23; // [xsp+80h] [xbp+80h] BYREF v2 = (unsigned __int8 *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 75) + 944LL))(*((_QWORD *)this + 75)); v3 = *v2; v4 = v2[1]; v5 = v2[2]; v6 = (unsigned __int8 *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 944LL))(*((_QWORD *)this + 76)); v7 = *v6; v8 = v6[1]; v9 = v6[2]; if ( !(v8 | v7) && !v6[2] ) { if ( (v4 | v3) == 0 && v5 == 0 ) { LOWORD(v23) = -1; BYTE2(v23) = -1; } else { LOBYTE(v23) = v3; BYTE1(v23) = v4; BYTE2(v23) = v5; } LABEL_7: v10 = GameToolbox::strongColor(v23); v11 = *((unsigned __int8 *)this + 668); LOWORD(v23) = v10; BYTE2(v23) = BYTE2(v10); if ( !v11 ) goto LABEL_8; goto LABEL_19; } LOBYTE(v23) = *v6; if ( (v4 | v3) != 0 || v5 != 0 ) { BYTE1(v23) = v8; BYTE2(v23) = v9; goto LABEL_7; } BYTE1(v23) = v8; BYTE2(v23) = v9; v19 = GameToolbox::strongColor(v23); v20 = *((unsigned __int8 *)this + 668); LOWORD(v23) = v19; BYTE2(v23) = BYTE2(v19); if ( v20 ) { LABEL_19: BYTE2(v23) = *((_BYTE *)this + 671); LOWORD(v23) = *(_WORD *)((char *)this + 669); } LABEL_8: (*(void (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 78) + 960LL))(*((_QWORD *)this + 78), &v23); (*(void (**)(void))(**((_QWORD **)this + 78) + 344LL))(); v12 = *((_QWORD *)this + 80); if ( v12 ) { LOBYTE(v21) = v3; BYTE1(v21) = v4; BYTE2(v21) = v5; GJRobotSprite::updateColor01(v12, v21); LOBYTE(v22) = v7; BYTE1(v22) = v8; BYTE2(v22) = v9; GJRobotSprite::updateColor02(*((_QWORD *)this + 80), v22); GJRobotSprite::updateGlowColor(*((_QWORD *)this + 80), v23, 1); } v13 = *((_QWORD *)this + 81); if ( v13 ) { LOBYTE(v21) = v3; BYTE1(v21) = v4; BYTE2(v21) = v5; GJRobotSprite::updateColor01(v13, v21); LOBYTE(v22) = v7; BYTE1(v22) = v8; BYTE2(v22) = v9; GJRobotSprite::updateColor02(*((_QWORD *)this + 81), v22); GJRobotSprite::updateGlowColor(*((_QWORD *)this + 81), v23, 1); } if ( (v4 | v3) == 0 && v5 == 0 || *((_BYTE *)this + 660) ) { v14 = *((GJRobotSprite **)this + 80); if ( v14 ) GJRobotSprite::showGlow(v14); v15 = *((GJRobotSprite **)this + 81); if ( v15 ) GJRobotSprite::showGlow(v15); } else { v17 = *((GJRobotSprite **)this + 80); if ( v17 ) GJRobotSprite::hideGlow(v17); v18 = *((GJRobotSprite **)this + 81); if ( v18 ) GJRobotSprite::hideGlow(v18); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source