{"type": "func", "start": 539660, "end": 539684, "name": "sub_83C0C", "pseudocode": "// \n// sub_83C0C from 0x83c0c to 0x83c24 (24 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10d5b0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:08 +0000\n// \n\n__int64 __fastcall sub_83C0C(__int64 a1, unsigned int a2)\n{\n  unsigned int v2; // w8\n\n  v2 = *(_DWORD *)(a1 + 36);\n  if ( v2 >= a2 )\n    v2 = a2;\n  *(_DWORD *)(a1 + 496) = v2;\n  return 0;\n}", "assembly": "; \n; sub_83C0C from 0x83c0c to 0x83c24 (24 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10d5b0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:08 +0000\n; \nLDR             W8, [X0,#0x24]                                         ; +0x0, 0x83c0c\nCMP             W8, W1                                                 ; +0x4, 0x83c10\nCSEL            W8, W8, W1, CC                                         ; +0x8, 0x83c14\nSTR             W8, [X0,#0x1F0]                                        ; +0xc, 0x83c18\nMOV             W0, WZR                                                ; +0x10, 0x83c1c\nRET                                                                    ; +0x14, 0x83c20", "xrefs": ["<???> @ 0x10d5b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}