{"type": "func", "start": 310716, "end": 310748, "name": "sub_4BDBC", "pseudocode": "// \n// sub_4BDBC from 0x4bdbc to 0x4bddc (32 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_4BDBC(int a1, _BYTE *a2)\n{\n  if ( !a2 )\n    return 31;\n  if ( !*(_DWORD *)(a1 + 332) )\n    return 30;\n  *a2 = *(_BYTE *)(a1 + 40) & 1;\n  return 0;\n}", "assembly": "; \n; sub_4BDBC from 0x4bdbc to 0x4bddc (32 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\nCBZ             R1, loc_4BDD8                                          ; +0x0, 0x4bdbc\nLDR.W           R2, [R0,#0x14C]                                        ; +0x2, 0x4bdbe\nCMP             R2, #0                                                 ; +0x6, 0x4bdc2\nITEEE EQ                                                               ; +0x8, 0x4bdc4\nMOVEQ           R0, #0x1E                                              ; +0xa, 0x4bdc6\nLDRBNE.W        R0, [R0,#0x28]                                         ; +0xc, 0x4bdc8\nANDNE.W         R0, R0, #1                                             ; +0x10, 0x4bdcc\nSTRBNE          R0, [R1]                                               ; +0x14, 0x4bdd0\nIT NE                                                                  ; +0x16, 0x4bdd2\nMOVNE           R0, #0                                                 ; +0x18, 0x4bdd4\nBX              LR                                                     ; +0x1a, 0x4bdd6\nMOVS            R0, #0x1F                                              ; +0x1c, 0x4bdd8\nBX              LR                                                     ; +0x1e, 0x4bdda", "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"}