{"type": "func", "start": 415676, "end": 415724, "name": "sub_657BC", "pseudocode": "// \n// sub_657BC from 0x657bc to 0x657ec (48 bytes)\n// \n// 1 xrefs:\n// > sub_656C4 @ 0x65710\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\n__int64 __fastcall sub_657BC(__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_65028(a1, a2);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_657BC from 0x657bc to 0x657ec (48 bytes)\n; \n; 1 xrefs:\n; > sub_656C4 @ 0x65710\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x657bc\nLDR             W8, [X0,#0xC]                                          ; +0x4, 0x657c0\nMOV             X29, SP                                                ; +0x8, 0x657c4\nCMP             W8, #0                                                 ; +0xc, 0x657c8\nCNEG            W8, W8, MI                                             ; +0x10, 0x657cc\nCMP             W8, W1                                                 ; +0x14, 0x657d0\nB.GE            loc_657E0                                              ; +0x18, 0x657d4\nBL              sub_65028                                              ; +0x1c, 0x657d8\nCBNZ            W0, loc_657E4                                          ; +0x20, 0x657dc\nMOV             W0, WZR                                                ; +0x24, 0x657e0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x657e4\nRET                                                                    ; +0x2c, 0x657e8", "xrefs": ["sub_656C4 @ 0x65710"], "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"}