{"type": "func", "start": 620100, "end": 620180, "name": "sub_97644", "pseudocode": "// \n// sub_97644 from 0x97644 to 0x97694 (80 bytes)\n// \n// 1 xrefs:\n// > sub_96758 @ 0x96758\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_97644(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)\n{\n  int v7; // w8\n\n  *(_QWORD *)(a1 + 376) = a5;\n  *(_DWORD *)(a1 + 456) = a2;\n  if ( a1 != a6 && *(_DWORD *)(a6 + 40) == 9 )\n  {\n    v7 = *(_DWORD *)(a6 + 452);\n    *(_DWORD *)(a1 + 452) = v7;\n    *(_QWORD *)(a1 + 464) = *(_QWORD *)(a6 + 464);\n    *(_DWORD *)(a1 + 460) = *(_DWORD *)(a6 + 460);\n    if ( !v7 )\nLABEL_9:\n      *(_DWORD *)(a1 + 452) = 1152;\n  }\n  else if ( !*(_DWORD *)(a1 + 452) )\n  {\n    goto LABEL_9;\n  }\n  return sub_97E28(a1);\n}", "assembly": "; \n; sub_97644 from 0x97644 to 0x97694 (80 bytes)\n; \n; 1 xrefs:\n; > sub_96758 @ 0x96758\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\nSTR             X4, [X0,#0x178]                                        ; +0x0, 0x97644\nSTR             W1, [X0,#0x1C8]                                        ; +0x4, 0x97648\nLDR             W8, [X5,#0x28]                                         ; +0x8, 0x9764c\nCMP             X0, X5                                                 ; +0xc, 0x97650\nCCMP            W8, #9, #0, NE                                         ; +0x10, 0x97654\nB.EQ            loc_97668                                              ; +0x14, 0x97658\nLDR             W8, [X0,#0x1C4]                                        ; +0x18, 0x9765c\nCBNZ            W8, loc_97684                                          ; +0x1c, 0x97660\nB               loc_97688                                              ; +0x20, 0x97664\nLDR             W8, [X5,#0x1C4]                                        ; +0x24, 0x97668\nSTR             W8, [X0,#0x1C4]                                        ; +0x28, 0x9766c\nLDR             X9, [X5,#0x1D0]                                        ; +0x2c, 0x97670\nSTR             X9, [X0,#0x1D0]                                        ; +0x30, 0x97674\nLDR             W9, [X5,#0x1CC]                                        ; +0x34, 0x97678\nSTR             W9, [X0,#0x1CC]                                        ; +0x38, 0x9767c\nCBZ             W8, loc_97688                                          ; +0x3c, 0x97680\nB               sub_97E28                                              ; +0x40, 0x97684\nMOV             W8, #0x480                                             ; +0x44, 0x97688\nSTR             W8, [X0,#0x1C4]                                        ; +0x48, 0x9768c\nB               sub_97E28                                              ; +0x4c, 0x97690", "xrefs": ["sub_96758 @ 0x96758"], "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"}