{"type": "func", "start": 423404, "end": 423582, "name": "sub_675EC", "pseudocode": "// \n// sub_675EC from 0x675ec to 0x6769e (178 bytes)\n// \n// 1 xrefs:\n// > sub_67360 @ 0x67366\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_675EC(int a1, int a2)\n{\n  int v2; // r4\n  _BYTE *v3; // r8\n  int v4; // r1\n  int v5; // r6\n  int v6; // r0\n  float *v7; // r5\n  float v8; // s22\n  float v9; // r0\n  float v10; // s0\n  int v11; // r0\n\n  if ( a2 == 1 )\n  {\n    v2 = a1;\n    v3 = (_BYTE *)(a1 + 8932);\n    v4 = *(_DWORD *)(a1 + 376);\n    v5 = 32;\n    v6 = *(_DWORD *)(a1 + 9068);\n    if ( v4 != v6 )\n    {\n      *(_DWORD *)(v2 + 376) = v6;\n      *v3 = 1;\n    }\n    v7 = (float *)(v2 + 9072);\n    while ( v5 )\n    {\n      v8 = *(v7 - 33);\n      v9 = powf(10.0, v8 * 0.05);\n      --v5;\n      v10 = 0.0;\n      if ( v8 > -80.0 )\n        v10 = v9;\n      if ( v10 != *(float *)(v2 + 612) )\n      {\n        *(float *)(v2 + 612) = v10;\n        *v3 = 1;\n      }\n      v11 = *(_DWORD *)v7++;\n      if ( *(_DWORD *)(v2 + 484) != v11 )\n      {\n        *(_DWORD *)(v2 + 484) = v11;\n        *v3 = 1;\n      }\n      v2 += 4;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_675EC from 0x675ec to 0x6769e (178 bytes)\n; \n; 1 xrefs:\n; > sub_67360 @ 0x67366\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            {R4-R7,LR}                                             ; +0x0, 0x675ec\nADD             R7, SP, #0xC                                           ; +0x2, 0x675ee\nPUSH.W          {R8-R10}                                               ; +0x4, 0x675f0\nVPUSH           {D8-D11}                                               ; +0x8, 0x675f4\nCMP             R1, #1                                                 ; +0xc, 0x675f8\nBNE             loc_67692                                              ; +0xe, 0x675fa\nMOV             R4, R0                                                 ; +0x10, 0x675fc\nMOVW            R0, #0x22E4                                            ; +0x12, 0x675fe\nADD.W           R8, R4, R0                                             ; +0x16, 0x67602\nLDR.W           R1, [R4,#0x178]                                        ; +0x1a, 0x67606\nVLDR            S16, =0.05                                             ; +0x1e, 0x6760a\nMOVS            R6, #0x20 ; ' '                                        ; +0x22, 0x6760e\nLDR.W           R0, [R8,#0x88]                                         ; +0x24, 0x67610\nMOV.W           R9, #1                                                 ; +0x28, 0x67614\nVLDR            S18, =-80.0                                            ; +0x2c, 0x67618\nCMP             R1, R0                                                 ; +0x30, 0x6761c\nITTT NE                                                                ; +0x32, 0x6761e\nSTRNE.W         R0, [R4,#0x178]                                        ; +0x34, 0x67620\nMOVNE           R0, #1                                                 ; +0x38, 0x67624\nSTRBNE.W        R0, [R8]                                               ; +0x3a, 0x67626\nMOVW            R0, #0x2370                                            ; +0x3e, 0x6762a\nADDS            R5, R4, R0                                             ; +0x42, 0x6762e\nLDR             R0, flt_676A4                                          ; +0x44, 0x67630\nVLDR            S20, =0.0                                              ; +0x46, 0x67632\nMOV             R10, R0                                                ; +0x4a, 0x67636\nCBZ             R6, loc_67692                                          ; +0x4c, 0x67638\nVLDR            S22, [R5,#-0x84]                                       ; +0x4e, 0x6763a\nMOV             R0, R10; x                                             ; +0x52, 0x6763e\nVMUL.F32        S0, S22, S16                                           ; +0x54, 0x67640\nVMOV            R1, S0; y                                              ; +0x58, 0x67644\nBLX             powf                                                   ; +0x5c, 0x67648\nVCMPE.F32       S22, S18                                               ; +0x60, 0x6764c\nSUBS            R6, #1                                                 ; +0x64, 0x67650\nVMOV            S2, R0                                                 ; +0x66, 0x67652\nVMRS            APSR_nzcv, FPSCR                                       ; +0x6a, 0x67656\nVMOV.F32        S0, S20                                                ; +0x6e, 0x6765a\nIT GT                                                                  ; +0x72, 0x6765e\nVMOVGT.F32      S0, S2                                                 ; +0x74, 0x67660\nVLDR            S2, [R4,#0x264]                                        ; +0x78, 0x67664\nVCMP.F32        S0, S2                                                 ; +0x7c, 0x67668\nVMRS            APSR_nzcv, FPSCR                                       ; +0x80, 0x6766c\nITT NE                                                                 ; +0x84, 0x67670\nVSTRNE          S0, [R4,#0x264]                                        ; +0x86, 0x67672\nSTRBNE.W        R9, [R8]                                               ; +0x8a, 0x67676\nLDR             R0, [R5]                                               ; +0x8e, 0x6767a\nADDS            R5, #4                                                 ; +0x90, 0x6767c\nLDR.W           R1, [R4,#0x1E4]                                        ; +0x92, 0x6767e\nCMP             R1, R0                                                 ; +0x96, 0x67682\nITT NE                                                                 ; +0x98, 0x67684\nSTRNE.W         R0, [R4,#0x1E4]                                        ; +0x9a, 0x67686\nSTRBNE.W        R9, [R8]                                               ; +0x9e, 0x6768a\nADDS            R4, #4                                                 ; +0xa2, 0x6768e\nB               loc_67638                                              ; +0xa4, 0x67690\nMOVS            R0, #0                                                 ; +0xa6, 0x67692\nVPOP            {D8-D11}                                               ; +0xa8, 0x67694\nPOP.W           {R8-R10}                                               ; +0xac, 0x67698\nPOP             {R4-R7,PC}                                             ; +0xb0, 0x6769c", "xrefs": ["sub_67360 @ 0x67366"], "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"}