{"type": "func", "start": 334798, "end": 334818, "name": "sub_51BCE", "pseudocode": "// \n// sub_51BCE from 0x51bce to 0x51be2 (20 bytes)\n// \n// 2 xrefs:\n// > sub_5A318 @ 0x5a376\n// > sub_5A39C @ 0x5a3c6\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_51BCE(int a1, int a2, _DWORD *a3)\n{\n  int v3; // r0\n\n  v3 = *(_DWORD *)(a1 + 4 * a2 + 632);\n  if ( !v3 )\n    return 54;\n  *a3 = v3;\n  return 0;\n}", "assembly": "; \n; sub_51BCE from 0x51bce to 0x51be2 (20 bytes)\n; \n; 2 xrefs:\n; > sub_5A318 @ 0x5a376\n; > sub_5A39C @ 0x5a3c6\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\nADD.W           R0, R0, R1,LSL#2                                       ; +0x0, 0x51bce\nLDR.W           R0, [R0,#0x278]                                        ; +0x4, 0x51bd2\nCMP             R0, #0                                                 ; +0x8, 0x51bd6\nITEE EQ                                                                ; +0xa, 0x51bd8\nMOVEQ           R0, #0x36 ; '6'                                        ; +0xc, 0x51bda\nSTRNE           R0, [R2]                                               ; +0xe, 0x51bdc\nMOVNE           R0, #0                                                 ; +0x10, 0x51bde\nBX              LR                                                     ; +0x12, 0x51be0", "xrefs": ["sub_5A318 @ 0x5a376", "sub_5A39C @ 0x5a3c6"], "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"}