{"type": "func", "start": 625804, "end": 625884, "name": "sub_98C8C", "pseudocode": "// \n// sub_98C8C from 0x98c8c to 0x98cdc (80 bytes)\n// \n// 1 xrefs:\n// > sub_98D1A @ 0x98d20\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_98C8C(float *a1, int a2, _DWORD *a3, int a4)\n{\n  float v4; // s0\n\n  switch ( a2 )\n  {\n    case 2:\n      *a3 = *((_DWORD *)a1 + 99);\n      if ( a4 )\n      {\n        v4 = a1[99];\n        goto LABEL_10;\n      }\n      break;\n    case 1:\n      *a3 = *((_DWORD *)a1 + 98);\n      if ( a4 )\n      {\n        v4 = a1[98];\n        goto LABEL_10;\n      }\n      break;\n    case 0:\n      *a3 = *((_DWORD *)a1 + 97);\n      if ( a4 )\n      {\n        v4 = a1[97];\nLABEL_10:\n        sub_BE420(a4, 32, \"%.02f\", v4);\n      }\n      break;\n  }\n  return 0;\n}", "assembly": "; \n; sub_98C8C from 0x98c8c to 0x98cdc (80 bytes)\n; \n; 1 xrefs:\n; > sub_98D1A @ 0x98d20\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            {R5-R7,LR}                                             ; +0x0, 0x98c8c\nADD             R7, SP, #8                                             ; +0x2, 0x98c8e\nCMP             R1, #2                                                 ; +0x4, 0x98c90\nBEQ             loc_98CA8                                              ; +0x6, 0x98c92\nCMP             R1, #1                                                 ; +0x8, 0x98c94\nBEQ             loc_98CB6                                              ; +0xa, 0x98c96\nCBNZ            R1, loc_98CD6                                          ; +0xc, 0x98c98\nLDR.W           R1, [R0,#0x184]                                        ; +0xe, 0x98c9a\nSTR             R1, [R2]                                               ; +0x12, 0x98c9e\nCBZ             R3, loc_98CD6                                          ; +0x14, 0x98ca0\nVLDR            S0, [R0,#0x184]                                        ; +0x16, 0x98ca2\nB               loc_98CC2                                              ; +0x1a, 0x98ca6\nLDR.W           R1, [R0,#0x18C]                                        ; +0x1c, 0x98ca8\nSTR             R1, [R2]                                               ; +0x20, 0x98cac\nCBZ             R3, loc_98CD6                                          ; +0x22, 0x98cae\nVLDR            S0, [R0,#0x18C]                                        ; +0x24, 0x98cb0\nB               loc_98CC2                                              ; +0x28, 0x98cb4\nLDR.W           R1, [R0,#0x188]                                        ; +0x2a, 0x98cb6\nSTR             R1, [R2]                                               ; +0x2e, 0x98cba\nCBZ             R3, loc_98CD6                                          ; +0x30, 0x98cbc\nVLDR            S0, [R0,#0x188]                                        ; +0x32, 0x98cbe\nVCVT.F64.F32    D0, S0                                                 ; +0x36, 0x98cc2\nMOV             R0, R3                                                 ; +0x3a, 0x98cc6\nMOVS            R1, #0x20 ; ' '                                        ; +0x3c, 0x98cc8\nVSTR            D0, [SP,#var_s0]                                       ; +0x3e, 0x98cca\nLDR             R2, =(a02f - 0x98CD4); \"%.02f\" ...                     ; +0x42, 0x98cce\nADD             R2, PC; \"%.02f\"                                        ; +0x44, 0x98cd0\nBL              sub_BE420                                              ; +0x46, 0x98cd2\nMOVS            R0, #0                                                 ; +0x4a, 0x98cd6\nADD             SP, SP, #8                                             ; +0x4c, 0x98cd8\nPOP             {R7,PC}                                                ; +0x4e, 0x98cda", "xrefs": ["sub_98D1A @ 0x98d20"], "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"}