{"type": "func", "start": 334768, "end": 334798, "name": "sub_51BB0", "pseudocode": "// \n// sub_51BB0 from 0x51bb0 to 0x51bce (30 bytes)\n// \n// 2 xrefs:\n// > sub_58910 @ 0x58932\n// > sub_610FC @ 0x611f4\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_51BB0(int a1, int a2, _DWORD *a3)\n{\n  _DWORD *v4; // r0\n\n  if ( !a3 )\n    return 31;\n  v4 = sub_4F0A0((_DWORD **)(a1 + 472), a2);\n  if ( !v4 )\n    return 31;\n  *a3 = v4[26];\n  return 0;\n}", "assembly": "; \n; sub_51BB0 from 0x51bb0 to 0x51bce (30 bytes)\n; \n; 2 xrefs:\n; > sub_58910 @ 0x58932\n; > sub_610FC @ 0x611f4\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, 0x51bb0\nADD             R7, SP, #8                                             ; +0x2, 0x51bb2\nCBZ             R2, loc_51BCA                                          ; +0x4, 0x51bb4\nADD.W           R0, R0, #0x1D8                                         ; +0x6, 0x51bb6\nMOV             R4, R2                                                 ; +0xa, 0x51bba\nBL              sub_4F0A0                                              ; +0xc, 0x51bbc\nCBZ             R0, loc_51BCA                                          ; +0x10, 0x51bc0\nLDR             R0, [R0,#0x68]                                         ; +0x12, 0x51bc2\nSTR             R0, [R4]                                               ; +0x14, 0x51bc4\nMOVS            R0, #0                                                 ; +0x16, 0x51bc6\nPOP             {R4,R6,R7,PC}                                          ; +0x18, 0x51bc8\nMOVS            R0, #0x1F                                              ; +0x1a, 0x51bca\nPOP             {R4,R6,R7,PC}                                          ; +0x1c, 0x51bcc", "xrefs": ["sub_58910 @ 0x58932", "sub_610FC @ 0x611f4"], "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"}