// // GameManager::iconKey from 0x100312814 to 0x100312a28 (532 bytes) // // 3 xrefs: // > GameManager::isIconUnlocked @ 0x100312a8c // > GameManager::unlockIcon @ 0x100312c6c // > GameManager::lockIcon @ 0x100312cd8 // // 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 // void __usercall GameManager::iconKey(__int64 a1@, int a2@, _QWORD *a3@) { char *v5; // x1 __int64 v6; // x20 int v7; // [xsp+Ch] [xbp-244h] BYREF __int128 v8; // [xsp+10h] [xbp-240h] BYREF void *__p; // [xsp+20h] [xbp-230h] _BYTE v10[512]; // [xsp+28h] [xbp-228h] BYREF v8 = xmmword_1006350E0; __p = v10; if ( a2 > 6 ) { if ( a2 > 98 ) { switch ( a2 ) { case 'c': v5 = "special_"; goto LABEL_28; case 'd': v5 = "item_"; goto LABEL_28; case 'e': v5 = "shipstreak_"; goto LABEL_28; } } else { switch ( a2 ) { case 7: v5 = "swing_"; goto LABEL_28; case 8: v5 = "jetpack_"; goto LABEL_28; case 98: v5 = "death_"; goto LABEL_28; } } goto LABEL_27; } if ( a2 <= 3 ) { switch ( a2 ) { case 1: v5 = "ship_"; goto LABEL_28; case 2: v5 = "ball_"; goto LABEL_28; case 3: v5 = "bird_"; goto LABEL_28; } LABEL_27: v5 = "i_"; goto LABEL_28; } if ( a2 == 4 ) { v5 = "dart_"; } else if ( a2 == 5 ) { v5 = "robot_"; } else { v5 = "spider_"; } LABEL_28: sub_10000CB18((__int64 *)&v8, v5, 0); v7 = a1; sub_100009A40((int)&v8, a1, (int)&v7); v6 = v8; if ( *((_QWORD *)&v8 + 1) < (unsigned __int64)(v8 + 1) ) sub_100009ED4((__int64)&v8, v8 + 1); *((_BYTE *)__p + v6) = 0; sub_100009900(a3, (char *)__p); if ( __p != v10 ) { if ( __p ) operator delete[](__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source