// // SelectSettingLayer::frameForItem from 0x6aa418 to 0x6aa518 (256 bytes) // // 5 xrefs: // > SelectSettingLayer::frameForValue @ 0x6aa56c // > SelectSettingLayer::getSelectedFrame @ 0x6aa582 // > SelectSettingLayer::init @ 0x6aa878 // > StartPosLayer::addModeButtons @ 0x6aac30 // > StartPosLayer::addSpeedButtons @ 0x6aadaa // // 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:34 +0000 // int *__fastcall SelectSettingLayer::frameForItem(int *a1, unsigned int a2, int a3) { const char *v4; // r1 size_t v5; // r2 if ( a2 > 1 ) { if ( a2 == 2 ) { switch ( a3 ) { case 0: *a1 = 0; a1[1] = 0; v4 = "boost_01_001.png"; a1[2] = 0; break; case 1: *a1 = 0; a1[1] = 0; v4 = "boost_02_001.png"; a1[2] = 0; break; case 2: *a1 = 0; a1[1] = 0; v4 = "boost_03_001.png"; a1[2] = 0; break; case 3: *a1 = 0; a1[1] = 0; v4 = "boost_04_001.png"; a1[2] = 0; break; case 4: *a1 = 0; a1[1] = 0; v4 = "boost_05_001.png"; a1[2] = 0; break; default: *a1 = 0; v4 = "boost_02_001.png"; a1[1] = 0; a1[2] = 0; break; } v5 = 16; } else { v5 = 0; *a1 = 0; v4 = (const char *)&unk_B6B226; a1[1] = 0; a1[2] = 0; } } else { switch ( a3 ) { case 0: *a1 = 0; a1[1] = 0; v4 = "gj_iconBtn_off_001.png"; a1[2] = 0; goto LABEL_8; case 1: *a1 = 0; a1[1] = 0; v4 = "gj_shipBtn_off_001.png"; a1[2] = 0; goto LABEL_8; case 2: *a1 = 0; a1[1] = 0; v4 = "gj_ballBtn_off_001.png"; a1[2] = 0; goto LABEL_8; case 3: *a1 = 0; a1[1] = 0; v4 = "gj_birdBtn_off_001.png"; a1[2] = 0; goto LABEL_8; case 4: *a1 = 0; v4 = "gj_dartBtn_off_001.png"; a1[1] = 0; a1[2] = 0; LABEL_8: v5 = 22; break; case 5: *a1 = 0; a1[1] = 0; v4 = "gj_robotBtn_off_001.png"; a1[2] = 0; goto LABEL_12; case 6: v5 = 24; *a1 = 0; a1[1] = 0; v4 = "gj_spiderBtn_off_001.png"; a1[2] = 0; break; case 7: *a1 = 0; v4 = "gj_swingBtn_off_001.png"; a1[1] = 0; a1[2] = 0; LABEL_12: v5 = 23; break; default: v5 = 0; *a1 = 0; a1[1] = 0; v4 = (const char *)&unk_B6B226; a1[2] = 0; break; } } std::string::__init(a1, v4, v5); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source