{"type": "func", "start": 424398, "end": 424456, "name": "sub_679CE", "pseudocode": "// \n// sub_679CE from 0x679ce to 0x67a08 (58 bytes)\n// \n// 1 xrefs:\n// > sub_6806C @ 0x68156\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_679CE(_DWORD *a1, int a2, int a3)\n{\n  int i; // r3\n  _DWORD *v4; // r4\n  char *v5; // r4\n\n  a1[15] = a2;\n  for ( i = 0; i != 3; ++i )\n  {\n    v4 = &a1[i * 2];\n    a1[i] = 0;\n    v4[3] = 0;\n    v4[4] = 0;\n    a1[i + 9] = 0;\n    v5 = (char *)a1 + i * 2;\n    *((_WORD *)v5 + 32) = 0;\n  }\n  a1[12] = 1;\n  a1[13] = 2;\n  a1[14] = a3;\n  a1[18] = 1;\n  return 0;\n}", "assembly": "; \n; sub_679CE from 0x679ce to 0x67a08 (58 bytes)\n; \n; 1 xrefs:\n; > sub_6806C @ 0x68156\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,R6,R7,LR}                                          ; +0x0, 0x679ce\nADD             R7, SP, #8                                             ; +0x2, 0x679d0\nSTR             R1, [R0,#0x3C]                                         ; +0x4, 0x679d2\nMOVS            R1, #0                                                 ; +0x6, 0x679d4\nMOVS            R3, #0                                                 ; +0x8, 0x679d6\nCMP             R3, #6                                                 ; +0xa, 0x679d8\nBEQ             loc_679F8                                              ; +0xc, 0x679da\nADD.W           R4, R0, R3,LSL#2                                       ; +0xe, 0x679dc\nSTR.W           R1, [R0,R3,LSL#1]                                      ; +0x12, 0x679e0\nSTRD.W          R1, R1, [R4,#0xC]                                      ; +0x16, 0x679e4\nADD.W           R4, R0, R3,LSL#1                                       ; +0x1a, 0x679e8\nSTR             R1, [R4,#0x24]                                         ; +0x1e, 0x679ec\nADDS            R4, R0, R3                                             ; +0x20, 0x679ee\nADDS            R3, #2                                                 ; +0x22, 0x679f0\nSTRH.W          R1, [R4,#0x40]                                         ; +0x24, 0x679f2\nB               loc_679D8                                              ; +0x28, 0x679f6\nMOVS            R1, #2                                                 ; +0x2a, 0x679f8\nMOVS            R3, #1                                                 ; +0x2c, 0x679fa\nSTRD.W          R3, R1, [R0,#0x30]                                     ; +0x2e, 0x679fc\nSTR             R2, [R0,#0x38]                                         ; +0x32, 0x67a00\nSTR             R3, [R0,#0x48]                                         ; +0x34, 0x67a02\nMOVS            R0, #0                                                 ; +0x36, 0x67a04\nPOP             {R4,R6,R7,PC}                                          ; +0x38, 0x67a06", "xrefs": ["sub_6806C @ 0x68156"], "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"}