{"type": "func", "start": 413688, "end": 413736, "name": "sub_64FF8", "pseudocode": "// \n// sub_64FF8 from 0x64ff8 to 0x65028 (48 bytes)\n// \n// 1 xrefs:\n// > sub_64F58 @ 0x64f8c\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_64FF8(__int64 a1)\n{\n  __int64 v1; // x1\n  int v2; // w8\n  __int64 result; // x0\n\n  v1 = *(unsigned int *)(a1 + 8);\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( v2 < 0 )\n    v2 = -v2;\n  if ( (int)v1 >= v2 )\n    return 0;\n  result = sub_65028(a1, v1);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_64FF8 from 0x64ff8 to 0x65028 (48 bytes)\n; \n; 1 xrefs:\n; > sub_64F58 @ 0x64f8c\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, 0x64ff8\nLDP             W1, W8, [X0,#8]                                        ; +0x4, 0x64ffc\nMOV             X29, SP                                                ; +0x8, 0x65000\nCMP             W8, #0                                                 ; +0xc, 0x65004\nCNEG            W8, W8, MI                                             ; +0x10, 0x65008\nCMP             W1, W8                                                 ; +0x14, 0x6500c\nB.GE            loc_6501C                                              ; +0x18, 0x65010\nBL              sub_65028                                              ; +0x1c, 0x65014\nCBNZ            W0, loc_65020                                          ; +0x20, 0x65018\nMOV             W0, WZR                                                ; +0x24, 0x6501c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x65020\nRET                                                                    ; +0x2c, 0x65024", "xrefs": ["sub_64F58 @ 0x64f8c"], "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"}