{"type": "func", "start": 774836, "end": 774892, "name": "sub_BD2B4", "pseudocode": "// \n// sub_BD2B4 from 0xbd2b4 to 0xbd2ec (56 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\nint __fastcall sub_BD2B4(_DWORD *a1)\n{\n  int (__fastcall *v1)(_DWORD); // r5\n  int result; // r0\n\n  v1 = (int (__fastcall *)(_DWORD))a1[108];\n  if ( v1 || (v1 = *(int (__fastcall **)(_DWORD))(a1[92] + 69020)) != nullptr )\n    result = v1(a1[112]);\n  else\n    result = 0;\n  a1[102] = result;\n  return result;\n}", "assembly": "; \n; sub_BD2B4 from 0xbd2b4 to 0xbd2ec (56 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-R7,LR}                                             ; +0x0, 0xbd2b4\nADD             R7, SP, #0xC                                           ; +0x2, 0xbd2b6\nPUSH.W          {R11}                                                  ; +0x4, 0xbd2b8\nSUB             SP, SP, #8                                             ; +0x8, 0xbd2bc\nLDR.W           R5, [R0,#0x1B0]                                        ; +0xa, 0xbd2be\nMOV             R4, R0                                                 ; +0xe, 0xbd2c2\nCBNZ            R5, loc_BD2D0                                          ; +0x10, 0xbd2c4\nLDR.W           R0, [R4,#0x170]                                        ; +0x12, 0xbd2c6\nLDR             R5, =0x10D9C                                           ; +0x16, 0xbd2ca\nLDR             R5, [R0,R5]                                            ; +0x18, 0xbd2cc\nCBZ             R5, loc_BD2E8                                          ; +0x1a, 0xbd2ce\nLDR.W           R0, [R4,#0x1C0]                                        ; +0x1c, 0xbd2d0\nLDR.W           R6, [R4,#0x1C4]                                        ; +0x20, 0xbd2d4\nSTR             R6, [SP,#8+var_8]                                      ; +0x24, 0xbd2d8\nBLX             R5                                                     ; +0x26, 0xbd2da\nSTR.W           R0, [R4,#0x198]                                        ; +0x28, 0xbd2dc\nADD             SP, SP, #8                                             ; +0x2c, 0xbd2e0\nPOP.W           {R11}                                                  ; +0x2e, 0xbd2e2\nPOP             {R4-R7,PC}                                             ; +0x32, 0xbd2e6\nMOVS            R0, #0                                                 ; +0x34, 0xbd2e8\nB               loc_BD2DC                                              ; +0x36, 0xbd2ea", "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"}