{"type": "func", "start": 528852, "end": 528894, "name": "sub_811D4", "pseudocode": "// \n// sub_811D4 from 0x811d4 to 0x811fe (42 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_811D4(int a1, int a2, int a3, int a4)\n{\n  int v4; // r0\n  int v5; // r1\n  int v7; // [sp+4h] [bp-Ch] BYREF\n\n  v7 = a4;\n  v4 = sub_BB750(a4, a1, a2, a3, &v7);\n  v5 = v7;\n  if ( (v4 & 0xFFFFFFEF) != 0 )\n    return -1;\n  return v5;\n}", "assembly": "; \n; sub_811D4 from 0x811d4 to 0x811fe (42 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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x811d4\nADD             R7, SP, #0x10                                          ; +0x2, 0x811d6\nMOV             R4, R2                                                 ; +0x4, 0x811d8\nMOV             R2, R1                                                 ; +0x6, 0x811da\nMOV             R1, R0                                                 ; +0x8, 0x811dc\nADD             R0, SP, #8+var_4                                       ; +0xa, 0x811de\nSTR             R0, [SP,#8+var_8]                                      ; +0xc, 0x811e0\nMOV             R0, R3                                                 ; +0xe, 0x811e2\nMOV             R3, R4                                                 ; +0x10, 0x811e4\nBL              sub_BB750                                              ; +0x12, 0x811e6\nLDR             R1, [SP,#8+var_4]                                      ; +0x16, 0x811ea\nMOV             R2, #0xFFFFFFEF                                        ; +0x18, 0x811ec\nTST             R0, R2                                                 ; +0x1c, 0x811f0\nIT NE                                                                  ; +0x1e, 0x811f2\nMOVNE.W         R1, #0xFFFFFFFF                                        ; +0x20, 0x811f4\nMOV             R0, R1                                                 ; +0x24, 0x811f8\nADD             SP, SP, #8                                             ; +0x26, 0x811fa\nPOP             {R4,R6,R7,PC}                                          ; +0x28, 0x811fc", "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"}