// // GameManager::resolutionForKey from 0x1003bb888 to 0x1003bba30 (424 bytes) // // 3 xrefs: // > VideoOptionsLayer::init @ 0x100113e38 // > VideoOptionsLayer::onApply @ 0x100114c98 // > sub_100114ED4 @ 0x100114f28 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:03:59 +0000 // double __usercall GameManager::resolutionForKey@(int a1@, float *a2@) { int v2; // w9 int v3; // w9 int v4; // w9 float v5; // s0 int v6; // w9 int v7; // w9 int v8; // w9 int v9; // w9 float v10; // s1 double result; // d0 switch ( a1 ) { case 1: v2 = 1142947840; goto LABEL_18; case 2: v2 = 1144258560; LABEL_18: v5 = *(float *)&v2; v6 = 1139802112; goto LABEL_36; case 3: v5 = 720.0; v6 = 1141899264; goto LABEL_36; case 4: v5 = 800.0; v6 = 1142292480; goto LABEL_36; case 5: v7 = 1149239296; goto LABEL_29; case 6: v5 = 1152.0; v6 = 1146617856; goto LABEL_36; case 7: v5 = 1176.0; v6 = 1143341056; goto LABEL_36; case 8: v5 = 1280.0; v6 = 1144258560; goto LABEL_36; case 9: v7 = 1151336448; goto LABEL_29; case 10: v5 = 1280.0; v6 = 1145569280; goto LABEL_36; case 11: v5 = 1280.0; v6 = 1148190720; goto LABEL_36; case 12: v3 = 1151336448; goto LABEL_6; case 13: v7 = 1151991808; LABEL_29: v5 = *(float *)&v7; goto LABEL_30; case 14: v5 = 1366.0; LABEL_30: v6 = 1145044992; goto LABEL_36; case 15: v4 = 1152647168; goto LABEL_14; case 16: v4 = 1153957888; LABEL_14: v5 = *(float *)&v4; v6 = 1147207680; goto LABEL_36; case 17: v3 = 1153957888; LABEL_6: v5 = *(float *)&v3; v6 = 1149239296; goto LABEL_36; case 18: v9 = 1153957888; goto LABEL_23; case 19: v5 = 1680.0; v10 = 1050.0; goto LABEL_37; case 20: v5 = 1768.0; v6 = 1148715008; goto LABEL_36; case 21: v5 = 1920.0; v6 = 1149698048; goto LABEL_36; case 22: v9 = 1156579328; LABEL_23: v5 = *(float *)&v9; v6 = 1150681088; goto LABEL_36; case 23: v8 = 1156579328; goto LABEL_32; case 24: v10 = 1536.0; v5 = 2048.0; goto LABEL_37; case 25: v8 = 1159725056; LABEL_32: v5 = *(float *)&v8; v6 = 1152647168; goto LABEL_36; case 26: v5 = 2560.0; v6 = 1153957888; goto LABEL_36; case 27: v5 = 3840.0; v6 = 1158086656; LABEL_36: v10 = *(float *)&v6; LABEL_37: sub_1000262C4(a2, v5, v10); break; default: result = sub_1001F95DC(a2); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source