// // SecretRewardsLayer::getPageColor from 0x6ca62a to 0x6ca692 (104 bytes) // // 2 xrefs: // > SecretRewardsLayer::scrollLayerMoved @ 0x6ca718 // > SecretRewardsLayer::scrollLayerMoved @ 0x6ca73a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:56:58 +0000 // int __fastcall SecretRewardsLayer::getPageColor(SecretRewardsLayer *this, int a2) { unsigned __int8 v2; // r3 unsigned __int8 v4; // [sp+4h] [bp-4h] unsigned __int8 v5; // [sp+5h] [bp-3h] switch ( a2 ) { case 1: v2 = 50; v4 = 50; v5 = 50; break; case 2: v5 = 0; v4 = 70; v2 = 120; break; case 3: v4 = 36; v5 = 27; v2 = 40; break; default: v5 = 0; v2 = 75; v4 = 70; break; } return v4 | (unsigned __int16)(v5 << 8) | (v2 << 16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source