{"type": "func", "start": 450928, "end": 450980, "name": "sub_6E170", "pseudocode": "// \n// sub_6E170 from 0x6e170 to 0x6e1a4 (52 bytes)\n// \n// 0 xrefs:\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\n__int64 sub_6E170()\n{\n  int i; // r4\n  __int64 result; // r0\n  _DWORD *v2; // r2\n\n  for ( i = 0; i != 4928; i += 308 )\n    sub_6DC2C((int)&unk_F4D34 + i);\n  result = (unsigned int)&unk_F6074;\n  v2 = &unk_F6074;\n  do\n  {\n    *v2 = v2;\n    v2[1] = v2;\n    v2[2] = 0;\n    v2 += 3;\n  }\n  while ( v2 != (_DWORD *)&unk_F6134 );\n  return result;\n}", "assembly": "; \n; sub_6E170 from 0x6e170 to 0x6e1a4 (52 bytes)\n; \n; 0 xrefs:\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,R5,R7,LR}                                          ; +0x0, 0x6e170\nADD             R7, SP, #8                                             ; +0x2, 0x6e172\nLDR             R5, =(unk_F4D34 - 0x6E17C)                             ; +0x4, 0x6e174\nMOVS            R4, #0                                                 ; +0x6, 0x6e176\nADD             R5, PC; unk_F4D34                                      ; +0x8, 0x6e178\nADDS            R0, R5, R4                                             ; +0xa, 0x6e17a\nBL              sub_6DC2C                                              ; +0xc, 0x6e17c\nADD.W           R4, R4, #0x134                                         ; +0x10, 0x6e180\nCMP.W           R4, #0x1340                                            ; +0x14, 0x6e184\nBNE             loc_6E17A                                              ; +0x18, 0x6e188\nLDR             R0, =(unk_F6074 - 0x6E192)                             ; +0x1a, 0x6e18a\nMOVS            R1, #0                                                 ; +0x1c, 0x6e18c\nADD             R0, PC; unk_F6074                                      ; +0x1e, 0x6e18e\nMOV             R2, R0                                                 ; +0x20, 0x6e190\nSTRD.W          R2, R2, [R2]                                           ; +0x22, 0x6e192\nADD.W           R3, R0, #(unk_F6134 - 0xF6074)                         ; +0x26, 0x6e196\nSTR             R1, [R2,#8]                                            ; +0x2a, 0x6e19a\nADDS            R2, #0xC                                               ; +0x2c, 0x6e19c\nCMP             R2, R3                                                 ; +0x2e, 0x6e19e\nBNE             loc_6E192                                              ; +0x30, 0x6e1a0\nPOP             {R4,R5,R7,PC}                                          ; +0x32, 0x6e1a2", "xrefs": [], "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"}