// // MenuGameLayer::getBGColor from 0x100441f54 to 0x100442030 (220 bytes) // // 2 xrefs: // > MenuGameLayer::init @ 0x100441c4c // > MenuGameLayer::updateColor @ 0x1004422a0 // // 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:05:12 +0000 // __int64 __fastcall MenuGameLayer::getBGColor(__int64 a1, int a2) { int v2; // w19 __int64 v3; // x0 while ( a2 > 3 ) { if ( a2 <= 5 ) { if ( a2 == 4 ) v2 = 10; else v2 = 11; goto LABEL_20; } if ( a2 == 6 ) { v2 = 1; goto LABEL_20; } if ( a2 == 7 ) { v2 = 3; goto LABEL_20; } LABEL_13: if ( a2 <= 0 ) a2 = -(-a2 & 7); else a2 &= 7u; } if ( a2 > 1 ) { if ( a2 == 2 ) v2 = 8; else v2 = 9; goto LABEL_20; } if ( a2 ) { if ( a2 == 1 ) { v2 = 7; LABEL_20: v3 = GameManager::sharedState(); return GameManager::colorForIdx(v3, v2); } goto LABEL_13; } return 16737792; }
GD Web Decomp Icon

GD Web Decomp

Raw Source