{"type": "func", "start": 400992, "end": 401196, "name": "sub_61E60", "pseudocode": "// \n// sub_61E60 from 0x61e60 to 0x61f2c (204 bytes)\n// \n// 3 xrefs:\n// > sub_6A544 @ 0x6aa18\n// > sub_6B648 @ 0x6b694\n// > sub_6FC40 @ 0x6fc44\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:13:54 +0000\n// \n\n__int64 __fastcall sub_61E60(_QWORD *a1)\n{\n  _QWORD *v2; // x21\n  __int64 result; // x0\n  _QWORD *v4; // x21\n  _QWORD *v5; // x21\n  __int64 v6; // x0\n\n  v2 = a1 + 48;\n  while ( (_QWORD *)*v2 != v2 || (_QWORD *)a1[49] != v2 )\n  {\n    if ( !*v2 )\n      return 28;\n    result = sub_63520();\n    if ( (_DWORD)result )\n      return result;\n  }\n  v4 = a1 + 41;\n  while ( (_QWORD *)*v4 != v4 || (_QWORD *)a1[42] != v4 )\n  {\n    if ( !*(_QWORD *)(*v4 + 16LL) )\n      return 28;\n    result = sub_63520();\n    if ( (_DWORD)result )\n      return result;\n  }\n  v5 = a1 + 81;\n  while ( (_QWORD *)*v5 != v5 || (_QWORD *)a1[82] != v5 )\n  {\n    if ( !*v5 )\n      return 28;\n    result = sub_63520();\n    if ( (_DWORD)result )\n      return result;\n  }\n  v6 = sub_63478();\n  sub_6352C(v6);\n  return 0;\n}", "assembly": "; \n; sub_61E60 from 0x61e60 to 0x61f2c (204 bytes)\n; \n; 3 xrefs:\n; > sub_6A544 @ 0x6aa18\n; > sub_6B648 @ 0x6b694\n; > sub_6FC40 @ 0x6fc44\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:13:54 +0000\n; \nSTR             X21, [SP,#-0x10+var_20]!                               ; +0x0, 0x61e60\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x61e64\nMOV             W20, W1                                                ; +0x8, 0x61e68\nMOV             X19, X0                                                ; +0xc, 0x61e6c\nADD             X21, X0, #0x180                                        ; +0x10, 0x61e70\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x14, 0x61e74\nADD             X29, SP, #0x20                                         ; +0x18, 0x61e78\nLDR             X8, [X21]                                              ; +0x1c, 0x61e7c\nCMP             X8, X21                                                ; +0x20, 0x61e80\nB.NE            loc_61E94                                              ; +0x24, 0x61e84\nLDR             X9, [X19,#0x188]                                       ; +0x28, 0x61e88\nCMP             X9, X21                                                ; +0x2c, 0x61e8c\nB.EQ            loc_61EA8                                              ; +0x30, 0x61e90\nCBZ             X8, loc_61F0C                                          ; +0x34, 0x61e94\nLDR             W1, [X8,#0x90]                                         ; +0x38, 0x61e98\nBL              sub_63520                                              ; +0x3c, 0x61e9c\nCBZ             W0, loc_61E7C                                          ; +0x40, 0x61ea0\nB               loc_61F10                                              ; +0x44, 0x61ea4\nADD             X21, X19, #0x148                                       ; +0x48, 0x61ea8\nLDR             X8, [X21]                                              ; +0x4c, 0x61eac\nCMP             X8, X21                                                ; +0x50, 0x61eb0\nB.NE            loc_61EC4                                              ; +0x54, 0x61eb4\nLDR             X9, [X19,#0x150]                                       ; +0x58, 0x61eb8\nCMP             X9, X21                                                ; +0x5c, 0x61ebc\nB.EQ            loc_61EDC                                              ; +0x60, 0x61ec0\nLDR             X8, [X8,#0x10]                                         ; +0x64, 0x61ec4\nCBZ             X8, loc_61F0C                                          ; +0x68, 0x61ec8\nLDR             W1, [X8,#0x14]                                         ; +0x6c, 0x61ecc\nBL              sub_63520                                              ; +0x70, 0x61ed0\nCBZ             W0, loc_61EAC                                          ; +0x74, 0x61ed4\nB               loc_61F10                                              ; +0x78, 0x61ed8\nADD             X21, X19, #0x288                                       ; +0x7c, 0x61edc\nLDR             X8, [X21]                                              ; +0x80, 0x61ee0\nCMP             X8, X21                                                ; +0x84, 0x61ee4\nB.NE            loc_61EF8                                              ; +0x88, 0x61ee8\nLDR             X9, [X19,#0x290]                                       ; +0x8c, 0x61eec\nCMP             X9, X21                                                ; +0x90, 0x61ef0\nB.EQ            loc_61F18                                              ; +0x94, 0x61ef4\nCBZ             X8, loc_61F0C                                          ; +0x98, 0x61ef8\nLDR             W1, [X8,#0xC0]                                         ; +0x9c, 0x61efc\nBL              sub_63520                                              ; +0xa0, 0x61f00\nCBZ             W0, loc_61EE0                                          ; +0xa4, 0x61f04\nB               loc_61F10                                              ; +0xa8, 0x61f08\nMOV             W0, #0x1C                                              ; +0xac, 0x61f0c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb0, 0x61f10\nB               loc_635B8                                              ; +0xb4, 0x61f14\nBL              sub_63478                                              ; +0xb8, 0x61f18\nMOV             W3, #0x6D ; 'm'                                        ; +0xbc, 0x61f1c\nBL              sub_6352C                                              ; +0xc0, 0x61f20\nMOV             W0, WZR                                                ; +0xc4, 0x61f24\nB               loc_61F10                                              ; +0xc8, 0x61f28", "xrefs": ["sub_6A544 @ 0x6aa18", "sub_6B648 @ 0x6b694", "sub_6FC40 @ 0x6fc44"], "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"}