// // ItemInfoPopup::nameForUnlockType from 0x50bd90 to 0x50bf92 (514 bytes) // // 2 xrefs: // > ItemInfoPopup::init @ 0x50daf0 // > PurchaseItemPopup::init @ 0x613ed6 // // 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:51:28 +0000 // int *__fastcall ItemInfoPopup::nameForUnlockType(int *a1, int a2, int a3) { const char *v4; // r1 size_t v5; // r2 switch ( a3 ) { case 1: *a1 = 0; a1[1] = 0; v4 = "Cube"; a1[2] = 0; goto LABEL_32; case 2: *a1 = 0; v5 = 10; a1[1] = 0; v4 = "Main Color"; a1[2] = 0; break; case 3: *a1 = 0; a1[1] = 0; v4 = "Secondary Color"; a1[2] = 0; LABEL_19: v5 = 15; break; case 4: *a1 = 0; a1[1] = 0; v4 = "Ship"; a1[2] = 0; goto LABEL_32; case 5: *a1 = 0; a1[1] = 0; v4 = "Ball"; a1[2] = 0; goto LABEL_32; case 6: *a1 = 0; v5 = 3; a1[1] = 0; v4 = "UFO"; a1[2] = 0; break; case 7: *a1 = 0; a1[1] = 0; v4 = "Wave"; a1[2] = 0; LABEL_32: v5 = 4; break; case 8: *a1 = 0; a1[1] = 0; v4 = "Robot"; a1[2] = 0; goto LABEL_34; case 9: *a1 = 0; v5 = 6; a1[1] = 0; v4 = "Spider"; a1[2] = 0; break; case 10: *a1 = 0; a1[1] = 0; v4 = "Trail"; a1[2] = 0; goto LABEL_34; case 11: *a1 = 0; v5 = 12; a1[1] = 0; v4 = "Death Effect"; a1[2] = 0; break; case 12: switch ( a2 ) { case 4: *a1 = 0; v5 = 13; a1[1] = 0; v4 = "Master Emblem"; a1[2] = 0; goto LABEL_38; case 6: *a1 = 0; a1[1] = 0; v4 = "The Path of Fire"; a1[2] = 0; goto LABEL_24; case 7: *a1 = 0; v4 = "The Path of Ice"; a1[1] = 0; a1[2] = 0; goto LABEL_19; case 8: *a1 = 0; a1[1] = 0; v4 = "The Path of Poison"; a1[2] = 0; goto LABEL_22; case 9: *a1 = 0; v4 = "The Path of Shadow"; a1[1] = 0; a1[2] = 0; LABEL_22: v5 = 18; goto LABEL_38; case 10: *a1 = 0; v4 = "The Path of Lava"; a1[1] = 0; a1[2] = 0; goto LABEL_24; case 11: *a1 = 0; a1[1] = 0; v4 = "The Path of Earth"; a1[2] = 0; goto LABEL_30; case 12: *a1 = 0; a1[1] = 0; v4 = "The Path of Blood"; a1[2] = 0; goto LABEL_30; case 13: *a1 = 0; a1[1] = 0; v4 = "The Path of Metal"; a1[2] = 0; goto LABEL_30; case 14: *a1 = 0; a1[1] = 0; v4 = "The Path of Light"; a1[2] = 0; goto LABEL_30; case 15: *a1 = 0; v4 = "The Path of Souls"; a1[1] = 0; a1[2] = 0; LABEL_30: v5 = 17; break; case 16: *a1 = 0; a1[1] = 0; v4 = "Music Customizer"; a1[2] = 0; LABEL_24: v5 = 16; break; case 17: *a1 = 0; v5 = 14; a1[1] = 0; v4 = "Music Unlocker"; a1[2] = 0; break; default: *a1 = 0; v4 = "Item"; a1[1] = 0; a1[2] = 0; goto LABEL_32; } break; case 13: *a1 = 0; v4 = "Swing"; a1[1] = 0; a1[2] = 0; LABEL_34: v5 = 5; break; case 14: *a1 = 0; v5 = 7; a1[1] = 0; v4 = "Jetpack"; a1[2] = 0; break; case 15: *a1 = 0; v5 = 9; a1[1] = 0; v4 = "Ship Fire"; a1[2] = 0; break; default: v5 = 2; *a1 = 0; v4 = "NA"; a1[1] = 0; a1[2] = 0; break; } LABEL_38: std::string::__init(a1, v4, v5); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source