{"type": "func", "start": 625716, "end": 625798, "name": "sub_98C34", "pseudocode": "// \n// sub_98C34 from 0x98c34 to 0x98c86 (82 bytes)\n// \n// 1 xrefs:\n// > sub_98D0C @ 0x98d12\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:41:29 +0000\n// \n\nint __fastcall sub_98C34(int a1, int a2, int a3)\n{\n  _DWORD *v3; // r1\n  float v4; // s0\n  float v5; // s0\n\n  if ( a2 == 2 )\n  {\n    v3 = (_DWORD *)(a1 + 396);\n  }\n  else if ( a2 == 1 )\n  {\n    v3 = (_DWORD *)(a1 + 392);\n  }\n  else\n  {\n    if ( a2 )\n      goto LABEL_8;\n    v3 = (_DWORD *)(a1 + 388);\n  }\n  *v3 = a3;\nLABEL_8:\n  v4 = *(float *)(a1 + 388);\n  if ( v4 == 0.0 )\n    v5 = 1.0;\n  else\n    v5 = 1000.0 / (float)(v4 * (float)*(int *)(a1 + 384));\n  *(float *)(a1 + 400) = v5;\n  return 0;\n}", "assembly": "; \n; sub_98C34 from 0x98c34 to 0x98c86 (82 bytes)\n; \n; 1 xrefs:\n; > sub_98D0C @ 0x98d12\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:41:29 +0000\n; \nCMP             R1, #2                                                 ; +0x0, 0x98c34\nBEQ             loc_98C44                                              ; +0x2, 0x98c36\nCMP             R1, #1                                                 ; +0x4, 0x98c38\nBEQ             loc_98C4A                                              ; +0x6, 0x98c3a\nCBNZ            R1, loc_98C56                                          ; +0x8, 0x98c3c\nADD.W           R1, R0, #0x184                                         ; +0xa, 0x98c3e\nB               loc_98C4E                                              ; +0xe, 0x98c42\nADD.W           R1, R0, #0x18C                                         ; +0x10, 0x98c44\nB               loc_98C4E                                              ; +0x14, 0x98c48\nADD.W           R1, R0, #0x188                                         ; +0x16, 0x98c4a\nVMOV            S0, R2                                                 ; +0x1a, 0x98c4e\nVSTR            S0, [R1]                                               ; +0x1e, 0x98c52\nVLDR            S0, [R0,#0x184]                                        ; +0x22, 0x98c56\nVCMP.F32        S0, #0.0                                               ; +0x26, 0x98c5a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2a, 0x98c5e\nBEQ             loc_98C7A                                              ; +0x2e, 0x98c62\nVLDR            S2, [R0,#0x180]                                        ; +0x30, 0x98c64\nVCVT.F32.S32    S2, S2                                                 ; +0x34, 0x98c68\nVMUL.F32        S0, S0, S2                                             ; +0x38, 0x98c6c\nVLDR            S2, =1000.0                                            ; +0x3c, 0x98c70\nVDIV.F32        S0, S2, S0                                             ; +0x40, 0x98c74\nB               loc_98C7E                                              ; +0x44, 0x98c78\nVMOV.F32        S0, #1.0                                               ; +0x46, 0x98c7a\nVSTR            S0, [R0,#0x190]                                        ; +0x4a, 0x98c7e\nMOVS            R0, #0                                                 ; +0x4e, 0x98c82\nBX              LR                                                     ; +0x50, 0x98c84", "xrefs": ["sub_98D0C @ 0x98d12"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}