// // getItemVarName from 0x57a22c to 0x57a2d2 (166 bytes) // // 5 xrefs: // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a59a // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a5a8 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a5b2 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57b948 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57b952 // // 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 // int __fastcall getItemVarName(int a1, int a2, int a3) { char *v6; // r1 int v7; // r0 char *v8; // r1 _DWORD v10[2]; // [sp+0h] [bp-8h] BYREF v10[0] = a1; v10[1] = a2; sub_776584(a1, (char *)&unk_939830); switch ( a2 ) { case 1: case 2: if ( a2 == 1 ) v6 = "I"; else v6 = "T"; sub_7753D4(a1, v6); GameToolbox::intToString((GameToolbox *)v10, a3); sub_77441C(a1, v10); sub_774008(v10); return a1; case 3: v7 = a1; v8 = "Points"; goto LABEL_10; case 4: v7 = a1; v8 = "MainTime"; goto LABEL_10; case 5: v7 = a1; v8 = "Attempts"; goto LABEL_10; default: v7 = a1; v8 = "NA"; LABEL_10: sub_7753D4(v7, v8); return a1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source