{"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 (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:40:44 +0000\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 (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:40:44 +0000\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_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}