{"type": "func", "start": 437072, "end": 437202, "name": "sub_6AB50", "pseudocode": "// \n// sub_6AB50 from 0x6ab50 to 0x6abd2 (130 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x6ab4e\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_6AB50(int a1, int a2, float *a3, int a4)\n{\n  float *v4; // r0\n  float *v5; // r0\n\n  v4 = *(float **)(a1 + 4);\n  switch ( a2 )\n  {\n    case 1:\n      v5 = v4 + 1;\n      goto LABEL_17;\n    case 2:\n      v5 = v4 + 2;\n      goto LABEL_17;\n    case 3:\n      v5 = v4 + 3;\n      goto LABEL_17;\n    case 5:\n      v5 = v4 + 6;\n      goto LABEL_17;\n    case 6:\n      v5 = v4 + 7;\n      goto LABEL_17;\n    case 7:\n      v5 = v4 + 8;\n      goto LABEL_17;\n    case 9:\n      v5 = v4 + 11;\n      goto LABEL_17;\n    case 10:\n      v5 = v4 + 12;\n      goto LABEL_17;\n    case 11:\n      v5 = v4 + 13;\n      goto LABEL_17;\n    case 13:\n      v5 = v4 + 16;\n      goto LABEL_17;\n    case 14:\n      v5 = v4 + 17;\n      goto LABEL_17;\n    case 15:\n      v5 = v4 + 18;\n      goto LABEL_17;\n    case 17:\n      v5 = v4 + 21;\n      goto LABEL_17;\n    case 18:\n      v5 = v4 + 22;\n      goto LABEL_17;\n    case 19:\n      v5 = v4 + 23;\nLABEL_17:\n      *a3 = *v5;\n      break;\n    default:\n      break;\n  }\n  if ( a4 )\n    sub_BE420(a4, 32, \"%.02f\", *a3);\n  return 0;\n}", "assembly": "; \n; sub_6AB50 from 0x6ab50 to 0x6abd2 (130 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x6ab4e\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x6ab50\nADD             R7, SP, #0x10                                          ; +0x2, 0x6ab52\nSUBS            R1, #1; switch 19 cases                                ; +0x4, 0x6ab54\nCMP             R1, #0x12                                              ; +0x6, 0x6ab56\nBHI             def_6AB5C; jumptable 0006AB5C default case, cases 4,8,12,16 ; +0x8, 0x6ab58\nLDR             R0, [R0,#4]                                            ; +0xa, 0x6ab5a\nTBB.W           [PC,R1]; switch jump                                   ; +0xc, 0x6ab5c\nDCB 0xA; jump table for switch statement                               ; +0x10, 0x6ab60\nDCB 0xC                                                                ; +0x11, 0x6ab61\nDCB 0xE                                                                ; +0x12, 0x6ab62\nDCB 0x29                                                               ; +0x13, 0x6ab63\nDCB 0x10                                                               ; +0x14, 0x6ab64\nDCB 0x12                                                               ; +0x15, 0x6ab65\nDCB 0x14                                                               ; +0x16, 0x6ab66\nDCB 0x29                                                               ; +0x17, 0x6ab67\nDCB 0x16                                                               ; +0x18, 0x6ab68\nDCB 0x18                                                               ; +0x19, 0x6ab69\nDCB 0x26                                                               ; +0x1a, 0x6ab6a\nDCB 0x29                                                               ; +0x1b, 0x6ab6b\nDCB 0x1A                                                               ; +0x1c, 0x6ab6c\nDCB 0x1C                                                               ; +0x1d, 0x6ab6d\nDCB 0x1E                                                               ; +0x1e, 0x6ab6e\nDCB 0x29                                                               ; +0x1f, 0x6ab6f\nDCB 0x20                                                               ; +0x20, 0x6ab70\nDCB 0x22                                                               ; +0x21, 0x6ab71\nDCB 0x24                                                               ; +0x22, 0x6ab72\nALIGN 2                                                                ; +0x23, 0x6ab73\nADDS            R0, #4; jumptable 0006AB5C case 1                      ; +0x24, 0x6ab74\nB               loc_6ABAE                                              ; +0x26, 0x6ab76\nADDS            R0, #8; jumptable 0006AB5C case 2                      ; +0x28, 0x6ab78\nB               loc_6ABAE                                              ; +0x2a, 0x6ab7a\nADDS            R0, #0xC; jumptable 0006AB5C case 3                    ; +0x2c, 0x6ab7c\nB               loc_6ABAE                                              ; +0x2e, 0x6ab7e\nADDS            R0, #0x18; jumptable 0006AB5C case 5                   ; +0x30, 0x6ab80\nB               loc_6ABAE                                              ; +0x32, 0x6ab82\nADDS            R0, #0x1C; jumptable 0006AB5C case 6                   ; +0x34, 0x6ab84\nB               loc_6ABAE                                              ; +0x36, 0x6ab86\nADDS            R0, #0x20 ; ' '; jumptable 0006AB5C case 7             ; +0x38, 0x6ab88\nB               loc_6ABAE                                              ; +0x3a, 0x6ab8a\nADDS            R0, #0x2C ; ','; jumptable 0006AB5C case 9             ; +0x3c, 0x6ab8c\nB               loc_6ABAE                                              ; +0x3e, 0x6ab8e\nADDS            R0, #0x30 ; '0'; jumptable 0006AB5C case 10            ; +0x40, 0x6ab90\nB               loc_6ABAE                                              ; +0x42, 0x6ab92\nADDS            R0, #0x40 ; '@'; jumptable 0006AB5C case 13            ; +0x44, 0x6ab94\nB               loc_6ABAE                                              ; +0x46, 0x6ab96\nADDS            R0, #0x44 ; 'D'; jumptable 0006AB5C case 14            ; +0x48, 0x6ab98\nB               loc_6ABAE                                              ; +0x4a, 0x6ab9a\nADDS            R0, #0x48 ; 'H'; jumptable 0006AB5C case 15            ; +0x4c, 0x6ab9c\nB               loc_6ABAE                                              ; +0x4e, 0x6ab9e\nADDS            R0, #0x54 ; 'T'; jumptable 0006AB5C case 17            ; +0x50, 0x6aba0\nB               loc_6ABAE                                              ; +0x52, 0x6aba2\nADDS            R0, #0x58 ; 'X'; jumptable 0006AB5C case 18            ; +0x54, 0x6aba4\nB               loc_6ABAE                                              ; +0x56, 0x6aba6\nADDS            R0, #0x5C ; '\\'; jumptable 0006AB5C case 19            ; +0x58, 0x6aba8\nB               loc_6ABAE                                              ; +0x5a, 0x6abaa\nADDS            R0, #0x34 ; '4'; jumptable 0006AB5C case 11            ; +0x5c, 0x6abac\nLDR             R0, [R0]                                               ; +0x5e, 0x6abae\nSTR             R0, [R2]                                               ; +0x60, 0x6abb0\nCBZ             R3, loc_6ABCC; jumptable 0006AB5C default case, cases 4,8,12,16 ; +0x62, 0x6abb2\nVLDR            S0, [R2]                                               ; +0x64, 0x6abb4\nMOV             R0, R3                                                 ; +0x68, 0x6abb8\nMOVS            R1, #0x20 ; ' '                                        ; +0x6a, 0x6abba\nVCVT.F64.F32    D0, S0                                                 ; +0x6c, 0x6abbc\nVSTR            D0, [SP,#8+var_8]                                      ; +0x70, 0x6abc0\nLDR             R2, =(a02f - 0x6ABCA); \"%.02f\" ...                     ; +0x74, 0x6abc4\nADD             R2, PC; \"%.02f\"                                        ; +0x76, 0x6abc6\nBL              sub_BE420                                              ; +0x78, 0x6abc8\nMOVS            R0, #0                                                 ; +0x7c, 0x6abcc\nADD             SP, SP, #8                                             ; +0x7e, 0x6abce\nPOP             {R4,R6,R7,PC}                                          ; +0x80, 0x6abd0", "xrefs": ["<???> @ 0x6ab4e"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}