{"type": "func", "start": 334554, "end": 334580, "name": "sub_51ADA", "pseudocode": "// \n// sub_51ADA from 0x51ada to 0x51af4 (26 bytes)\n// \n// 2 xrefs:\n// > sub_58838 @ 0x5885c\n// > sub_610FC @ 0x611c8\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_51ADA(int a1, int *a2)\n{\n  if ( !a2 )\n    return 31;\n  *a2 = sub_4A15C((_DWORD *)(a1 + 472));\n  return 0;\n}", "assembly": "; \n; sub_51ADA from 0x51ada to 0x51af4 (26 bytes)\n; \n; 2 xrefs:\n; > sub_58838 @ 0x5885c\n; > sub_610FC @ 0x611c8\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_51AF0                                          ; +0x0, 0x51ada\nPUSH            {R4,R6,R7,LR}                                          ; +0x2, 0x51adc\nADD             R7, SP, #8                                             ; +0x4, 0x51ade\nADD.W           R0, R0, #0x1D8                                         ; +0x6, 0x51ae0\nMOV             R4, R1                                                 ; +0xa, 0x51ae4\nBL              sub_4A15C                                              ; +0xc, 0x51ae6\nSTR             R0, [R4]                                               ; +0x10, 0x51aea\nMOVS            R0, #0                                                 ; +0x12, 0x51aec\nPOP             {R4,R6,R7,PC}                                          ; +0x14, 0x51aee\nMOVS            R0, #0x1F                                              ; +0x16, 0x51af0\nBX              LR                                                     ; +0x18, 0x51af2", "xrefs": ["sub_58838 @ 0x5885c", "sub_610FC @ 0x611c8"], "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"}