{"type": "func", "start": 774896, "end": 774946, "name": "sub_BD2F0", "pseudocode": "// \n// sub_BD2F0 from 0xbd2f0 to 0xbd322 (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_BD2F0(_DWORD *a1, int a2)\n{\n  int (__fastcall *v4)(_DWORD, int, _DWORD); // r3\n  int result; // r0\n\n  if ( sub_BD254(a1) )\n    return 0;\n  v4 = (int (__fastcall *)(_DWORD, int, _DWORD))a1[109];\n  if ( !v4 )\n  {\n    v4 = *(int (__fastcall **)(_DWORD, int, _DWORD))(a1[92] + 69024);\n    if ( !v4 )\n      return 0;\n  }\n  result = v4(a1[112], a2, a1[113]);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_BD2F0 from 0xbd2f0 to 0xbd322 (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, 0xbd2f0\nADD             R7, SP, #8                                             ; +0x2, 0xbd2f2\nMOV             R4, R1                                                 ; +0x4, 0xbd2f4\nMOV             R5, R0                                                 ; +0x6, 0xbd2f6\nBL              sub_BD254                                              ; +0x8, 0xbd2f8\nCBNZ            R0, loc_BD31E                                          ; +0xc, 0xbd2fc\nLDR.W           R3, [R5,#0x1B4]                                        ; +0xe, 0xbd2fe\nCBNZ            R3, loc_BD30E                                          ; +0x12, 0xbd302\nLDR.W           R0, [R5,#0x170]                                        ; +0x14, 0xbd304\nLDR             R1, =0x10DA0                                           ; +0x18, 0xbd308\nLDR             R3, [R0,R1]                                            ; +0x1a, 0xbd30a\nCBZ             R3, loc_BD31E                                          ; +0x1c, 0xbd30c\nLDR.W           R0, [R5,#0x1C0]                                        ; +0x1e, 0xbd30e\nMOV             R1, R4                                                 ; +0x22, 0xbd312\nLDR.W           R2, [R5,#0x1C4]                                        ; +0x24, 0xbd314\nBLX             R3                                                     ; +0x28, 0xbd318\nCBZ             R0, loc_BD31E                                          ; +0x2a, 0xbd31a\nPOP             {R4,R5,R7,PC}                                          ; +0x2c, 0xbd31c\nMOVS            R0, #0                                                 ; +0x2e, 0xbd31e\nPOP             {R4,R5,R7,PC}                                          ; +0x30, 0xbd320", "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"}