{"type": "func", "start": 784736, "end": 784772, "name": "sub_BF960", "pseudocode": "// \n// sub_BF960 from 0xbf960 to 0xbf984 (36 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_BF960(int a1, int a2)\n{\n  int result; // r0\n\n  result = (*(int (__fastcall **)(_DWORD, int, _DWORD))(*(int *)((char *)&dword_154 + (_DWORD)off_E8000) + 20))(\n             *(_DWORD *)(a1 + 4),\n             a2,\n             0)\n         - a2;\n  if ( result )\n    return 13;\n  return result;\n}", "assembly": "; \n; sub_BF960 from 0xbf960 to 0xbf984 (36 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,R6,R7,LR}                                          ; +0x0, 0xbf960\nADD             R7, SP, #8                                             ; +0x2, 0xbf962\nMOV             R4, R1                                                 ; +0x4, 0xbf964\nLDR             R0, [R0,#4]                                            ; +0x6, 0xbf966\nLDR             R1, =(off_E6144 - 0xBF970)                             ; +0x8, 0xbf968\nMOVS            R2, #0                                                 ; +0xa, 0xbf96a\nADD             R1, PC; off_E6144                                      ; +0xc, 0xbf96c\nLDR             R1, [R1]; off_E8000                                    ; +0xe, 0xbf96e\nLDR             R1, [R1]; dword_F2488                                  ; +0x10, 0xbf970\nLDR.W           R1, [R1,#(dword_F25DC - 0xF2488)]                      ; +0x12, 0xbf972\nLDR             R3, [R1,#0x14]                                         ; +0x16, 0xbf976\nMOV             R1, R4                                                 ; +0x18, 0xbf978\nBLX             R3                                                     ; +0x1a, 0xbf97a\nSUBS            R0, R0, R4                                             ; +0x1c, 0xbf97c\nIT NE                                                                  ; +0x1e, 0xbf97e\nMOVNE           R0, #0xD                                               ; +0x20, 0xbf980\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0xbf982", "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"}