{"type": "func", "start": 338498, "end": 338520, "name": "sub_52A42", "pseudocode": "// \n// sub_52A42 from 0x52a42 to 0x52a58 (22 bytes)\n// \n// 2 xrefs:\n// > sub_52A1A @ 0x52a2c\n// > sub_66EE4 @ 0x66fea\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_52A42(_DWORD *a1)\n{\n  int v1; // r3\n\n  v1 = a1[1];\n  if ( v1 > 0 )\n    return 28;\n  a1[1] = v1 + 1;\n  return (**(int (__fastcall ***)(_DWORD))*a1)(*a1);\n}", "assembly": "; \n; sub_52A42 from 0x52a42 to 0x52a58 (22 bytes)\n; \n; 2 xrefs:\n; > sub_52A1A @ 0x52a2c\n; > sub_66EE4 @ 0x66fea\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             R3, [R0,#4]                                            ; +0x0, 0x52a42\nCMP             R3, #0                                                 ; +0x2, 0x52a44\nBLE             loc_52A4C                                              ; +0x4, 0x52a46\nMOVS            R0, #0x1C                                              ; +0x6, 0x52a48\nBX              LR                                                     ; +0x8, 0x52a4a\nADDS            R3, #1                                                 ; +0xa, 0x52a4c\nSTR             R3, [R0,#4]                                            ; +0xc, 0x52a4e\nLDR             R0, [R0]                                               ; +0xe, 0x52a50\nLDR             R3, [R0]                                               ; +0x10, 0x52a52\nLDR             R3, [R3]                                               ; +0x12, 0x52a54\nBX              R3                                                     ; +0x14, 0x52a56", "xrefs": ["sub_52A1A @ 0x52a2c", "sub_66EE4 @ 0x66fea"], "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"}