// // SelectSettingLayer::frameForItem from 0xa36530 to 0xa36780 (592 bytes) // // 4 xrefs: // > SelectSettingLayer::frameForValue @ 0xa367d4 // > SelectSettingLayer::init @ 0xa39248 // > SelectSettingLayer::getSelectedFrame @ 0xa39728 // > @ 0x743e8 // // 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 // __int64 __usercall SelectSettingLayer::frameForItem@(unsigned int a1@, int a2@, __int64 a3@) { __int64 v3; // x8 if ( a1 <= 1 ) { switch ( a2 ) { case 0: sub_D153B8(a3, "gj_iconBtn_off_001.png"); v3 = a3; break; case 1: sub_D153B8(a3, "gj_shipBtn_off_001.png"); v3 = a3; break; case 2: sub_D153B8(a3, "gj_ballBtn_off_001.png"); v3 = a3; break; case 3: sub_D153B8(a3, "gj_birdBtn_off_001.png"); v3 = a3; break; case 4: sub_D153B8(a3, "gj_dartBtn_off_001.png"); v3 = a3; break; case 5: sub_D153B8(a3, "gj_robotBtn_off_001.png"); v3 = a3; break; case 6: sub_D153B8(a3, "gj_spiderBtn_off_001.png"); v3 = a3; break; case 7: sub_D153B8(a3, "gj_swingBtn_off_001.png"); v3 = a3; break; default: goto LABEL_3; } } else if ( a1 == 2 ) { switch ( a2 ) { case 0: sub_D153B8(a3, "boost_01_001.png"); v3 = a3; break; case 2: sub_D153B8(a3, "boost_03_001.png"); v3 = a3; break; case 3: sub_D153B8(a3, "boost_04_001.png"); v3 = a3; break; case 4: sub_D153B8(a3, "boost_05_001.png"); v3 = a3; break; default: sub_D153B8(a3, "boost_02_001.png"); v3 = a3; break; } } else { LABEL_3: sub_D153B8(a3, &byte_F288A0); return a3; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source