{"type": "func", "start": 737576, "end": 737620, "name": "sub_B4128", "pseudocode": "// \n// sub_B4128 from 0xb4128 to 0xb4154 (44 bytes)\n// \n// 4 xrefs:\n// > sub_67084 @ 0x6709e\n// > sub_B4030 @ 0xb40b6\n// > sub_C261C @ 0xc263a\n// > <???> @ 0xc2666\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_B4128(__int64 *a1)\n{\n  __int64 v1; // kr00_8\n  int v2; // r1\n  __int64 v3; // kr08_8\n\n  v1 = *a1;\n  v2 = *((_DWORD *)a1 + 3);\n  v3 = *(__int64 *)((char *)a1 + 20);\n  *((_DWORD *)a1 + 10) += *((_DWORD *)a1 + 1);\n  *((_DWORD *)a1 + 6) = (HIDWORD(v1) + HIDWORD(v3)) % v2;\n  return v1 + v3 * HIDWORD(v3);\n}", "assembly": "; \n; sub_B4128 from 0xb4128 to 0xb4154 (44 bytes)\n; \n; 4 xrefs:\n; > sub_67084 @ 0x6709e\n; > sub_B4030 @ 0xb40b6\n; > sub_C261C @ 0xc263a\n; > <???> @ 0xc2666\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, 0xb4128\nADD             R7, SP, #0xC                                           ; +0x2, 0xb412a\nPUSH.W          {R8}                                                   ; +0x4, 0xb412c\nMOV             R4, R0                                                 ; +0x8, 0xb4130\nLDRD.W          R8, R0, [R0]                                           ; +0xa, 0xb4132\nLDR             R2, [R4,#0x28]                                         ; +0xe, 0xb4136\nLDR             R1, [R4,#0xC]                                          ; +0x10, 0xb4138\nLDRD.W          R6, R5, [R4,#0x14]                                     ; +0x12, 0xb413a\nADD             R2, R0                                                 ; +0x16, 0xb413e\nADD             R0, R5                                                 ; +0x18, 0xb4140\nSTR             R2, [R4,#0x28]                                         ; +0x1a, 0xb4142\nBLX             j___aeabi_idivmod                                      ; +0x1c, 0xb4144\nSTR             R1, [R4,#0x18]                                         ; +0x20, 0xb4148\nMLA             R0, R6, R5, R8                                         ; +0x22, 0xb414a\nPOP.W           {R8}                                                   ; +0x26, 0xb414e\nPOP             {R4-R7,PC}                                             ; +0x2a, 0xb4152", "xrefs": ["sub_67084 @ 0x6709e", "sub_B4030 @ 0xb40b6", "sub_C261C @ 0xc263a", "<???> @ 0xc2666"], "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"}