{"type": "func", "start": 774398, "end": 774486, "name": "sub_BD0FE", "pseudocode": "// \n// sub_BD0FE from 0xbd0fe to 0xbd156 (88 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_BD0FE(int a1, _DWORD *a2)\n{\n  bool v4; // zf\n  int v5; // r4\n  _DWORD v7[2]; // [sp+4h] [bp-1Ch] BYREF\n  char v8; // [sp+Ch] [bp-14h]\n\n  if ( !a2 )\n    return 31;\n  v4 = *a2 == (_DWORD)a2;\n  if ( (_DWORD *)*a2 == a2 )\n    v4 = a2[1] == (_DWORD)a2;\n  if ( !v4 )\n    return 28;\n  v5 = 0;\n  v7[0] = *(_DWORD *)(a1 + 368);\n  v7[1] = 11;\n  v8 = 0;\n  sub_44998((int)v7);\n  sub_BD156(a1 + 444, a2);\n  sub_448CC((int)v7);\n  return v5;\n}", "assembly": "; \n; sub_BD0FE from 0xbd0fe to 0xbd156 (88 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, 0xbd0fe\nADD             R7, SP, #0xC                                           ; +0x2, 0xbd100\nPUSH.W          {R8}                                                   ; +0x4, 0xbd102\nSUB             SP, SP, #0x10                                          ; +0x8, 0xbd106\nCBZ             R1, loc_BD11E                                          ; +0xa, 0xbd108\nMOV             R6, R0                                                 ; +0xc, 0xbd10a\nLDR             R0, [R1]                                               ; +0xe, 0xbd10c\nMOV             R5, R1                                                 ; +0x10, 0xbd10e\nCMP             R0, R1                                                 ; +0x12, 0xbd110\nITT EQ                                                                 ; +0x14, 0xbd112\nLDREQ           R0, [R5,#4]                                            ; +0x16, 0xbd114\nCMPEQ           R0, R5                                                 ; +0x18, 0xbd116\nBEQ             loc_BD12A                                              ; +0x1a, 0xbd118\nMOVS            R4, #0x1C                                              ; +0x1c, 0xbd11a\nB               loc_BD120                                              ; +0x1e, 0xbd11c\nMOVS            R4, #0x1F                                              ; +0x20, 0xbd11e\nMOV             R0, R4                                                 ; +0x22, 0xbd120\nADD             SP, SP, #0x10                                          ; +0x24, 0xbd122\nPOP.W           {R8}                                                   ; +0x26, 0xbd124\nPOP             {R4-R7,PC}                                             ; +0x2a, 0xbd128\nADD.W           R8, SP, #0x10+var_C                                    ; +0x2c, 0xbd12a\nLDR.W           R0, [R6,#0x170]                                        ; +0x30, 0xbd12e\nMOVS            R1, #0xB                                               ; +0x34, 0xbd132\nMOVS            R4, #0                                                 ; +0x36, 0xbd134\nSTRD.W          R0, R1, [SP,#0x10+var_C]                               ; +0x38, 0xbd136\nMOV             R0, R8                                                 ; +0x3c, 0xbd13a\nSTRB.W          R4, [SP,#0x10+var_4]                                   ; +0x3e, 0xbd13c\nBL              sub_44998                                              ; +0x42, 0xbd140\nADD.W           R0, R6, #0x1BC                                         ; +0x46, 0xbd144\nMOV             R1, R5                                                 ; +0x4a, 0xbd148\nBL              sub_BD156                                              ; +0x4c, 0xbd14a\nMOV             R0, R8                                                 ; +0x50, 0xbd14e\nBL              sub_448CC                                              ; +0x52, 0xbd150\nB               loc_BD120                                              ; +0x56, 0xbd154", "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"}