{"type": "func", "start": 775124, "end": 775174, "name": "sub_BD3D4", "pseudocode": "// \n// sub_BD3D4 from 0xbd3d4 to 0xbd406 (50 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_BD3D4(_DWORD *a1, int a2)\n{\n  int (__fastcall *v4)(int, _DWORD); // r2\n\n  if ( sub_BD254(a1)\n    && *(_DWORD *)(a2 + 28)\n    && ((v4 = (int (__fastcall *)(int, _DWORD))a1[111]) != nullptr\n     || (v4 = *(int (__fastcall **)(int, _DWORD))(a1[92] + 69032)) != nullptr) )\n  {\n    return v4(a2, a1[113]);\n  }\n  else\n  {\n    return 0;\n  }\n}", "assembly": "; \n; sub_BD3D4 from 0xbd3d4 to 0xbd406 (50 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, 0xbd3d4\nADD             R7, SP, #8                                             ; +0x2, 0xbd3d6\nMOV             R4, R1                                                 ; +0x4, 0xbd3d8\nMOV             R5, R0                                                 ; +0x6, 0xbd3da\nBL              sub_BD254                                              ; +0x8, 0xbd3dc\nCBZ             R0, loc_BD402                                          ; +0xc, 0xbd3e0\nLDR             R0, [R4,#0x1C]                                         ; +0xe, 0xbd3e2\nCBZ             R0, loc_BD402                                          ; +0x10, 0xbd3e4\nLDR.W           R2, [R5,#0x1BC]                                        ; +0x12, 0xbd3e6\nCBNZ            R2, loc_BD3F6                                          ; +0x16, 0xbd3ea\nLDR.W           R0, [R5,#0x170]                                        ; +0x18, 0xbd3ec\nLDR             R1, =0x10DA8                                           ; +0x1c, 0xbd3f0\nLDR             R2, [R0,R1]                                            ; +0x1e, 0xbd3f2\nCBZ             R2, loc_BD402                                          ; +0x20, 0xbd3f4\nLDR.W           R1, [R5,#0x1C4]                                        ; +0x22, 0xbd3f6\nMOV             R0, R4                                                 ; +0x26, 0xbd3fa\nPOP.W           {R4,R5,R7,LR}                                          ; +0x28, 0xbd3fc\nBX              R2                                                     ; +0x2c, 0xbd400\nMOVS            R0, #0                                                 ; +0x2e, 0xbd402\nPOP             {R4,R5,R7,PC}                                          ; +0x30, 0xbd404", "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"}