// // GameManager::iconKey from 0x418c10 to 0x418d16 (262 bytes) // // 3 xrefs: // > GameManager::isIconUnlocked @ 0x418d84 // > GameManager::unlockIcon @ 0x418e06 // > GameManager::lockIcon @ 0x418e60 // // 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:47:42 +0000 // int *__fastcall GameManager::iconKey(int *a1, int a2, int a3, unsigned int a4) { const char *v6; // r3 const char *v7; // r0 const char *v8; // r7 size_t v9; // r0 unsigned int v11[3]; // [sp+Ch] [bp-208h] BYREF char v12; // [sp+18h] [bp-1FCh] BYREF v11[0] = 0; v11[1] = 500; v11[2] = (unsigned int)&v12; if ( a4 == 6 ) { v6 = "spider_"; goto LABEL_22; } if ( a4 > 6 ) { if ( a4 == 98 ) { v6 = "death_"; goto LABEL_22; } if ( a4 > 0x62 ) { if ( a4 == 100 ) { v6 = "item_"; goto LABEL_22; } if ( a4 < 0x64 ) { v6 = "special_"; goto LABEL_22; } if ( a4 == 101 ) { v6 = "shipstreak_"; goto LABEL_22; } } else { if ( a4 == 7 ) { v6 = "swing_"; goto LABEL_22; } if ( a4 == 8 ) { v6 = "jetpack_"; goto LABEL_22; } } LABEL_28: fmt::BasicWriter::operator<<(v11, "i_", 0); goto LABEL_29; } if ( a4 == 3 ) { v6 = "bird_"; goto LABEL_22; } if ( a4 > 3 ) { if ( a4 == 4 ) v6 = "dart_"; else v6 = "robot_"; goto LABEL_22; } if ( a4 == 1 ) { v6 = "ship_"; goto LABEL_22; } if ( a4 != 2 ) goto LABEL_28; v6 = "ball_"; LABEL_22: fmt::BasicWriter::operator<<(v11, v6, 0); LABEL_29: fmt::BasicWriter::operator<<(v11, a3); v7 = (const char *)fmt::BasicWriter::c_str((int *)v11); *a1 = 0; a1[1] = 0; v8 = v7; a1[2] = 0; v9 = strlen(v7); std::string::__init(a1, v8, v9); fmt::internal::Array::free((int)v11); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source