// // SelectSettingLayer::frameForItem from 0x570e94 to 0x570f42 (174 bytes) // // 3 xrefs: // > SelectSettingLayer::frameForValue @ 0x570fbc // > SelectSettingLayer::init @ 0x572c0c // > SelectSettingLayer::getSelectedFrame @ 0x572f54 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall SelectSettingLayer::frameForItem(int a1, unsigned int a2, int a3) { char *v4; // r1 if ( a2 > 1 ) { if ( a2 == 2 ) { switch ( a3 ) { case 0: v4 = "boost_01_001.png"; break; case 1: v4 = "boost_02_001.png"; break; case 2: v4 = "boost_03_001.png"; break; case 3: v4 = "boost_04_001.png"; break; case 4: v4 = "boost_05_001.png"; break; default: v4 = "boost_02_001.png"; break; } } else { v4 = (char *)&unk_939830; } } else { switch ( a3 ) { case 0: v4 = "gj_iconBtn_off_001.png"; break; case 1: v4 = "gj_shipBtn_off_001.png"; break; case 2: v4 = "gj_ballBtn_off_001.png"; break; case 3: v4 = "gj_birdBtn_off_001.png"; break; case 4: v4 = "gj_dartBtn_off_001.png"; break; case 5: v4 = "gj_robotBtn_off_001.png"; break; case 6: v4 = "gj_spiderBtn_off_001.png"; break; case 7: v4 = "gj_swingBtn_off_001.png"; break; default: v4 = (char *)&unk_939830; break; } } sub_776584(a1, v4); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source