{"type": "func", "start": 650448, "end": 650536, "name": "sub_9ECD0", "pseudocode": "// \n// sub_9ECD0 from 0x9ecd0 to 0x9ed28 (88 bytes)\n// \n// 1 xrefs:\n// > sub_9EA78 @ 0x9ea84\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_9ECD0(__int64 a1, __int64 a2, int a3, int a4)\n{\n  int v6; // [xsp+Ch] [xbp-4h] BYREF\n\n  if ( !a3 || a4 == 8 )\n  {\n    v6 = a3;\n  }\n  else\n  {\n    sub_9ED30(a1, &v6);\n    a3 = v6;\n  }\n  return sub_E08C0(*(_QWORD *)(a1 + 368), (unsigned int)(a3 + *(_DWORD *)(a1 + 272)));\n}", "assembly": "; \n; sub_9ECD0 from 0x9ecd0 to 0x9ed28 (88 bytes)\n; \n; 1 xrefs:\n; > sub_9EA78 @ 0x9ea84\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             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x9ecd0\nMOV             X19, X0                                                ; +0x4, 0x9ecd4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x8, 0x9ecd8\nADD             X29, SP, #0x10                                         ; +0xc, 0x9ecdc\nCBZ             W2, loc_9ED04                                          ; +0x10, 0x9ece0\nCMP             W3, #8                                                 ; +0x14, 0x9ece4\nB.EQ            loc_9ED04                                              ; +0x18, 0x9ece8\nLDR             X8, [X19,#8]                                           ; +0x1c, 0x9ecec\nSUB             X1, X29, #-var_4                                       ; +0x20, 0x9ecf0\nMOV             W3, #1                                                 ; +0x24, 0x9ecf4\nBL              sub_9ED30                                              ; +0x28, 0x9ecf8\nLDUR            W2, [X29,#var_4]                                       ; +0x2c, 0x9ecfc\nB               loc_9ED08                                              ; +0x30, 0x9ed00\nSTUR            W2, [X29,#var_4]                                       ; +0x34, 0x9ed04\nLDR             W8, [X19,#0x110]                                       ; +0x38, 0x9ed08\nLDR             X0, [X19,#0x170]                                       ; +0x3c, 0x9ed0c\nADD             W1, W2, W8                                             ; +0x40, 0x9ed10\nMOV             W2, WZR                                                ; +0x44, 0x9ed14\nBL              sub_E08C0                                              ; +0x48, 0x9ed18\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x9ed1c\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x50, 0x9ed20\nRET                                                                    ; +0x54, 0x9ed24", "xrefs": ["sub_9EA78 @ 0x9ea84"], "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"}