{"type": "func", "start": 396968, "end": 397112, "name": "sub_60EA8", "pseudocode": "// \n// sub_60EA8 from 0x60ea8 to 0x60f38 (144 bytes)\n// \n// 5 xrefs:\n// > sub_60A2C @ 0x60c50\n// > sub_60A2C @ 0x60cb0\n// > sub_60D14 @ 0x60dcc\n// > sub_60D14 @ 0x60e54\n// > sub_60F60 @ 0x61048\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:53 +0000\n// \n\nvoid __fastcall sub_60EA8(__int64 a1, __int64 a2)\n{\n  __int64 i; // x19\n  long double v3; // q0\n  __int64 v4; // x20\n  __int64 v5; // x20\n  __int64 v6; // x20\n\n  for ( i = a2; i; i = *(_QWORD *)(i + 48) )\n  {\n    if ( (*(_BYTE *)(i + 24) & 4) == 0 )\n    {\n      *(float *)&v3 = sub_60864(*(float **)(i + 56), *(float **)(i + 64), (float *)i);\n      v4 = i;\n      while ( 1 )\n      {\n        v4 = *(_QWORD *)(v4 + 72);\n        if ( !v4 )\n          break;\n        sub_61710(v3);\n      }\n      v5 = *(_QWORD *)(i + 56);\n      *(_DWORD *)(i + 24) |= 8u;\n      if ( (*(_BYTE *)(v5 + 24) & 4) != 0 )\n      {\n        while ( 1 )\n        {\n          v5 = *(_QWORD *)(v5 + 72);\n          if ( !v5 )\n            break;\n          sub_61710(v3);\n        }\n      }\n      v6 = *(_QWORD *)(i + 64);\n      if ( (*(_BYTE *)(v6 + 24) & 4) != 0 )\n      {\n        while ( 1 )\n        {\n          v6 = *(_QWORD *)(v6 + 72);\n          if ( !v6 )\n            break;\n          sub_61710(v3);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; sub_60EA8 from 0x60ea8 to 0x60f38 (144 bytes)\n; \n; 5 xrefs:\n; > sub_60A2C @ 0x60c50\n; > sub_60A2C @ 0x60cb0\n; > sub_60D14 @ 0x60dcc\n; > sub_60D14 @ 0x60e54\n; > sub_60F60 @ 0x61048\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:53 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x60ea8\nMOV             X19, X1                                                ; +0x4, 0x60eac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x8, 0x60eb0\nADD             X29, SP, #0x10                                         ; +0xc, 0x60eb4\nCBZ             X19, loc_60F30                                         ; +0x10, 0x60eb8\nLDRB            W8, [X19,#0x18]                                        ; +0x14, 0x60ebc\nTBNZ            W8, #2, loc_60F28                                      ; +0x18, 0x60ec0\nLDP             X0, X1, [X19,#0x38]                                    ; +0x1c, 0x60ec4\nMOV             X2, X19                                                ; +0x20, 0x60ec8\nBL              sub_60864                                              ; +0x24, 0x60ecc\nMOV             X20, X19                                               ; +0x28, 0x60ed0\nLDR             X20, [X20,#0x48]                                       ; +0x2c, 0x60ed4\nCBZ             X20, loc_60EE4                                         ; +0x30, 0x60ed8\nBL              sub_61710                                              ; +0x34, 0x60edc\nB               loc_60ED4                                              ; +0x38, 0x60ee0\nLDR             W8, [X19,#0x18]                                        ; +0x3c, 0x60ee4\nLDR             X20, [X19,#0x38]                                       ; +0x40, 0x60ee8\nORR             W8, W8, #8                                             ; +0x44, 0x60eec\nSTR             W8, [X19,#0x18]                                        ; +0x48, 0x60ef0\nLDRB            W8, [X20,#0x18]                                        ; +0x4c, 0x60ef4\nTBZ             W8, #2, loc_60F0C                                      ; +0x50, 0x60ef8\nLDR             X20, [X20,#0x48]                                       ; +0x54, 0x60efc\nCBZ             X20, loc_60F0C                                         ; +0x58, 0x60f00\nBL              sub_61710                                              ; +0x5c, 0x60f04\nB               loc_60EFC                                              ; +0x60, 0x60f08\nLDR             X20, [X19,#0x40]                                       ; +0x64, 0x60f0c\nLDRB            W8, [X20,#0x18]                                        ; +0x68, 0x60f10\nTBZ             W8, #2, loc_60F28                                      ; +0x6c, 0x60f14\nLDR             X20, [X20,#0x48]                                       ; +0x70, 0x60f18\nCBZ             X20, loc_60F28                                         ; +0x74, 0x60f1c\nBL              sub_61710                                              ; +0x78, 0x60f20\nB               loc_60F18                                              ; +0x7c, 0x60f24\nLDR             X19, [X19,#0x30]                                       ; +0x80, 0x60f28\nCBNZ            X19, loc_60EBC                                         ; +0x84, 0x60f2c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x60f30\nB               loc_61778                                              ; +0x8c, 0x60f34", "xrefs": ["sub_60A2C @ 0x60c50", "sub_60A2C @ 0x60cb0", "sub_60D14 @ 0x60dcc", "sub_60D14 @ 0x60e54", "sub_60F60 @ 0x61048"], "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"}