{"type": "func", "start": 798100, "end": 798148, "name": "sub_C2D94", "pseudocode": "// \n// sub_C2D94 from 0xc2d94 to 0xc2dc4 (48 bytes)\n// \n// 1 xrefs:\n// > sub_C2CA0 @ 0xc2cec\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:45 +0000\n// \n\n__int64 __fastcall sub_C2D94(__int64 a1, signed int a2)\n{\n  int v2; // w8\n  __int64 result; // x0\n\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( v2 < 0 )\n    v2 = -v2;\n  if ( v2 >= a2 )\n    return 0;\n  result = sub_6FFFC(a1, a2);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_C2D94 from 0xc2d94 to 0xc2dc4 (48 bytes)\n; \n; 1 xrefs:\n; > sub_C2CA0 @ 0xc2cec\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:45 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xc2d94\nLDR             W8, [X0,#0xC]                                          ; +0x4, 0xc2d98\nMOV             X29, SP                                                ; +0x8, 0xc2d9c\nCMP             W8, #0                                                 ; +0xc, 0xc2da0\nCNEG            W8, W8, MI                                             ; +0x10, 0xc2da4\nCMP             W8, W1                                                 ; +0x14, 0xc2da8\nB.GE            loc_C2DB8                                              ; +0x18, 0xc2dac\nBL              sub_6FFFC                                              ; +0x1c, 0xc2db0\nCBNZ            W0, loc_C2DBC                                          ; +0x20, 0xc2db4\nMOV             W0, WZR                                                ; +0x24, 0xc2db8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0xc2dbc\nRET                                                                    ; +0x2c, 0xc2dc0", "xrefs": ["sub_C2CA0 @ 0xc2cec"], "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"}