{"type": "func", "start": 338438, "end": 338458, "name": "sub_52A06", "pseudocode": "// \n// sub_52A06 from 0x52a06 to 0x52a1a (20 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_52A06(int a1, char *a2)\n{\n  char v2; // r2\n  bool v3; // zf\n  int result; // r0\n\n  v2 = 1;\n  v3 = *(_DWORD *)(a1 + 48) == 0;\n  result = 0;\n  if ( v3 )\n    v2 = -1;\n  *a2 = v2;\n  return result;\n}", "assembly": "; \n; sub_52A06 from 0x52a06 to 0x52a1a (20 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\nLDR             R0, [R0,#0x30]                                         ; +0x0, 0x52a06\nMOVS            R2, #1                                                 ; +0x2, 0x52a08\nCMP             R0, #0                                                 ; +0x4, 0x52a0a\nMOV.W           R0, #0                                                 ; +0x6, 0x52a0c\nIT EQ                                                                  ; +0xa, 0x52a10\nMOVEQ.W         R2, #0xFFFFFFFF                                        ; +0xc, 0x52a12\nSTRB            R2, [R1]                                               ; +0x10, 0x52a16\nBX              LR                                                     ; +0x12, 0x52a18", "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"}