{"type": "func", "start": 739392, "end": 739484, "name": "sub_B4840", "pseudocode": "// \n// sub_B4840 from 0xb4840 to 0xb489c (92 bytes)\n// \n// 2 xrefs:\n// > sub_B468C @ 0xb4780\n// > sub_B4F94 @ 0xb500c\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\nvoid *__fastcall sub_B4840(int32x2_t *a1)\n{\n  void *result; // x0\n\n  sub_B4934(&a1[441]);\n  sub_B4934(&a1[443]);\n  a1[440].n64_u64[0] = 0;\n  a1[70].n64_u32[0] = -1029701632;\n  a1[69].n64_u64[0] = vdup_n_s32(0xC2A00000).n64_u64[0];\n  result = memset((char *)&a1[70] + 4, 0, 0x108u);\n  a1[104].n64_u32[0] = -1029701632;\n  a1[439].n64_u64[0] = 3265265664LL;\n  return result;\n}", "assembly": "; \n; sub_B4840 from 0xb4840 to 0xb489c (92 bytes)\n; \n; 2 xrefs:\n; > sub_B468C @ 0xb4780\n; > sub_B4F94 @ 0xb500c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0xb4840\nMOV             X19, X0                                                ; +0x4, 0xb4844\nADD             X0, X0, #0xDC8                                         ; +0x8, 0xb4848\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0xb484c\nADD             X29, SP, #0x10                                         ; +0x10, 0xb4850\nBL              sub_B4934                                              ; +0x14, 0xb4854\nADD             X0, X19, #0xDD8                                        ; +0x18, 0xb4858\nBL              sub_B4934                                              ; +0x1c, 0xb485c\nMOVI            D0, #0                                                 ; +0x20, 0xb4860\nMOV             W20, #0xC2A00000                                       ; +0x24, 0xb4864\nSTR             D0, [X19,#0xDC0]                                       ; +0x28, 0xb4868\nDUP             V0.2S, W20                                             ; +0x2c, 0xb486c\nADD             X0, X19, #0x234; s                                     ; +0x30, 0xb4870\nMOV             W2, #0x108; n                                          ; +0x34, 0xb4874\nMOV             W1, WZR; c                                             ; +0x38, 0xb4878\nSTR             W20, [X19,#0x230]                                      ; +0x3c, 0xb487c\nSTR             D0, [X19,#0x228]                                       ; +0x40, 0xb4880\nBL              .memset                                                ; +0x44, 0xb4884\nSTR             W20, [X19,#0x340]                                      ; +0x48, 0xb4888\nSTR             X20, [X19,#0xDB8]                                      ; +0x4c, 0xb488c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0xb4890\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0xb4894\nRET                                                                    ; +0x58, 0xb4898", "xrefs": ["sub_B468C @ 0xb4780", "sub_B4F94 @ 0xb500c"], "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"}