{"type": "func", "start": 527352, "end": 527432, "name": "sub_80BF8", "pseudocode": "// \n// sub_80BF8 from 0x80bf8 to 0x80c48 (80 bytes)\n// \n// 3 xrefs:\n// > sub_CCDC4 @ 0xccdd8\n// > sub_CCDC4 @ 0xccdd4\n// > <???> @ 0x11a790\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:07 +0000\n// \n\n__int64 __fastcall sub_80BF8(__int64 result, __int64 a2, int a3, int a4)\n{\n  int v4; // w8\n  __int64 i; // x9\n  __int64 j; // x13\n  __int64 v7; // x14\n  unsigned int v8; // w15\n\n  v4 = 0;\n  for ( i = 0; i != a4; ++i )\n  {\n    for ( j = 0; j < a3; ++j )\n    {\n      v7 = *(_QWORD *)(result + 8 * j);\n      v8 = v4 + j;\n      *(_DWORD *)(a2 + 4LL * v8) = *(_DWORD *)(v7 + 4 * i);\n    }\n    v4 += a3;\n  }\n  return result;\n}", "assembly": "; \n; sub_80BF8 from 0x80bf8 to 0x80c48 (80 bytes)\n; \n; 3 xrefs:\n; > sub_CCDC4 @ 0xccdd8\n; > sub_CCDC4 @ 0xccdd4\n; > <???> @ 0x11a790\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:07 +0000\n; \nMOV             X8, XZR                                                ; +0x0, 0x80bf8\nMOV             X9, XZR                                                ; +0x4, 0x80bfc\nSXTW            X10, W2                                                ; +0x8, 0x80c00\nMOV             W11, W3                                                ; +0xc, 0x80c04\nMOV             W12, W2                                                ; +0x10, 0x80c08\nCMP             X9, X11                                                ; +0x14, 0x80c0c\nB.EQ            locret_80C44                                           ; +0x18, 0x80c10\nMOV             X13, XZR                                               ; +0x1c, 0x80c14\nCMP             X13, X10                                               ; +0x20, 0x80c18\nB.GE            loc_80C38                                              ; +0x24, 0x80c1c\nLDR             X14, [X0,X13,LSL#3]                                    ; +0x28, 0x80c20\nADD             W15, W8, W13                                           ; +0x2c, 0x80c24\nADD             X13, X13, #1                                           ; +0x30, 0x80c28\nLDR             W14, [X14,X9,LSL#2]                                    ; +0x34, 0x80c2c\nSTR             W14, [X1,W15,UXTW#2]                                   ; +0x38, 0x80c30\nB               loc_80C18                                              ; +0x3c, 0x80c34\nADD             X9, X9, #1                                             ; +0x40, 0x80c38\nADD             X8, X8, X12                                            ; +0x44, 0x80c3c\nB               loc_80C0C                                              ; +0x48, 0x80c40\nRET                                                                    ; +0x4c, 0x80c44", "xrefs": ["sub_CCDC4 @ 0xccdd8", "sub_CCDC4 @ 0xccdd4", "<???> @ 0x11a790"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}