{"type": "func", "start": 423600, "end": 423660, "name": "sub_676B0", "pseudocode": "// \n// sub_676B0 from 0x676b0 to 0x676ec (60 bytes)\n// \n// 1 xrefs:\n// > sub_6780E @ 0x67810\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:40:56 +0000\n// \n\nint __fastcall sub_676B0(int a1, int a2, _DWORD *a3, int a4)\n{\n  unsigned int v4; // r1\n  int v5; // r0\n\n  v4 = a2 - 1;\n  if ( v4 > 0x1F )\n    return 31;\n  v5 = a1 + 4 * v4;\n  *a3 = *(_DWORD *)(v5 + 8940);\n  if ( a4 )\n    sub_BE420(a4, 32, \"%.02f\", *(float *)(v5 + 8940));\n  return 0;\n}", "assembly": "; \n; sub_676B0 from 0x676b0 to 0x676ec (60 bytes)\n; \n; 1 xrefs:\n; > sub_6780E @ 0x67810\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:40:56 +0000\n; \nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x676b0\nADD             R7, SP, #0x10                                          ; +0x2, 0x676b2\nSUBS            R1, #1                                                 ; +0x4, 0x676b4\nCMP             R1, #0x1F                                              ; +0x6, 0x676b6\nBHI             loc_676E6                                              ; +0x8, 0x676b8\nADD.W           R0, R0, R1,LSL#2                                       ; +0xa, 0x676ba\nMOVW            R1, #0x22EC                                            ; +0xe, 0x676be\nLDR             R4, [R0,R1]                                            ; +0x12, 0x676c2\nSTR             R4, [R2]                                               ; +0x14, 0x676c4\nCBZ             R3, loc_676E2                                          ; +0x16, 0x676c6\nADD             R0, R1                                                 ; +0x18, 0x676c8\nMOVS            R1, #0x20 ; ' '                                        ; +0x1a, 0x676ca\nVLDR            S0, [R0]                                               ; +0x1c, 0x676cc\nMOV             R0, R3                                                 ; +0x20, 0x676d0\nVCVT.F64.F32    D0, S0                                                 ; +0x22, 0x676d2\nVSTR            D0, [SP,#8+var_8]                                      ; +0x26, 0x676d6\nLDR             R2, =(a02f - 0x676E0); \"%.02f\" ...                     ; +0x2a, 0x676da\nADD             R2, PC; \"%.02f\"                                        ; +0x2c, 0x676dc\nBL              sub_BE420                                              ; +0x2e, 0x676de\nMOVS            R0, #0                                                 ; +0x32, 0x676e2\nB               loc_676E8                                              ; +0x34, 0x676e4\nMOVS            R0, #0x1F                                              ; +0x36, 0x676e6\nADD             SP, SP, #8                                             ; +0x38, 0x676e8\nPOP             {R4,R6,R7,PC}                                          ; +0x3a, 0x676ea", "xrefs": ["sub_6780E @ 0x67810"], "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"}