{"type": "func", "start": 358876, "end": 358972, "name": "sub_579DC", "pseudocode": "// \n// sub_579DC from 0x579dc to 0x57a3c (96 bytes)\n// \n// 7 xrefs:\n// > sub_55F6C @ 0x55f70\n// > sub_5D078 @ 0x5d0bc\n// > sub_5D1CC @ 0x5d20c\n// > FMOD::ChannelGroup::release @ 0xd2018\n// > FMOD::ChannelGroup::addGroup @ 0xd20b0\n// > sub_D2534 @ 0xd2554\n// > sub_D2558 @ 0xd2570\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_579DC(__int64 a1, _QWORD *a2, _QWORD *a3)\n{\n  __int64 result; // x0\n\n  if ( !a2 )\n    return 31;\n  *a2 = a1;\n  if ( !a1 || (a1 & 3) != 0 || *(_DWORD *)(a1 + 472) != -899895835 )\n    return 30;\n  if ( !a3 )\n    return 0;\n  result = sub_50238(a3, *(_QWORD *)(a1 + 8));\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_579DC from 0x579dc to 0x57a3c (96 bytes)\n; \n; 7 xrefs:\n; > sub_55F6C @ 0x55f70\n; > sub_5D078 @ 0x5d0bc\n; > sub_5D1CC @ 0x5d20c\n; > FMOD::ChannelGroup::release @ 0xd2018\n; > FMOD::ChannelGroup::addGroup @ 0xd20b0\n; > sub_D2534 @ 0xd2554\n; > sub_D2558 @ 0xd2570\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, 0x579dc\nMOV             X29, SP                                                ; +0x4, 0x579e0\nCBZ             X1, loc_57A30                                          ; +0x8, 0x579e4\nSTR             X0, [X1]                                               ; +0xc, 0x579e8\nCBZ             X0, loc_57A28                                          ; +0x10, 0x579ec\nTST             X0, #3                                                 ; +0x14, 0x579f0\nB.NE            loc_57A28                                              ; +0x18, 0x579f4\nLDR             W8, [X0,#0x1D8]                                        ; +0x1c, 0x579f8\nMOV             W9, #0xCA5CADE5                                        ; +0x20, 0x579fc\nCMP             W8, W9                                                 ; +0x28, 0x57a04\nB.NE            loc_57A28                                              ; +0x2c, 0x57a08\nCBZ             X2, loc_57A20                                          ; +0x30, 0x57a0c\nLDR             X1, [X0,#8]                                            ; +0x34, 0x57a10\nMOV             X0, X2                                                 ; +0x38, 0x57a14\nBL              sub_50238                                              ; +0x3c, 0x57a18\nCBNZ            W0, loc_57A34                                          ; +0x40, 0x57a1c\nMOV             W0, WZR                                                ; +0x44, 0x57a20\nB               loc_57A34                                              ; +0x48, 0x57a24\nMOV             W0, #0x1E                                              ; +0x4c, 0x57a28\nB               loc_57A34                                              ; +0x50, 0x57a2c\nMOV             W0, #0x1F                                              ; +0x54, 0x57a30\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x58, 0x57a34\nRET                                                                    ; +0x5c, 0x57a38", "xrefs": ["sub_55F6C @ 0x55f70", "sub_5D078 @ 0x5d0bc", "sub_5D1CC @ 0x5d20c", "FMOD::ChannelGroup::release @ 0xd2018", "FMOD::ChannelGroup::addGroup @ 0xd20b0", "sub_D2534 @ 0xd2554", "sub_D2558 @ 0xd2570"], "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"}