{"type": "func", "start": 5370372448, "end": 5370372546, "name": "EditorSoundConfigInfoLayer::isOwner", "pseudocode": "// \n// EditorSoundConfigInfoLayer::isOwner from 0x140196160 to 0x1401961c2 (98 bytes)\n// \n// 5 xrefs:\n// > EditorSoundConfigInfoLayer::init @ 0x140194135\n// > EditorSoundConfigInfoLayer::init @ 0x140194296\n// > EditorSoundConfigInfoLayer::soundPackDescSaved @ 0x140195fba\n// > EditorSoundConfigInfoLayer::onDeleteServer @ 0x140197ae9\n// > <???> @ 0x1409194c0\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:45 +0000\n// \n\nbool __fastcall EditorSoundConfigInfoLayer::isOwner(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rax\n  __int64 v4; // rax\n  bool result; // al\n\n  result = false;\n  if ( *(_QWORD *)(a1 + 1072) )\n  {\n    if ( GJAccountManager::sharedState(a1) )\n    {\n      v3 = GJAccountManager::sharedState(v2);\n      if ( *(_DWORD *)(v3 + 360) - *(_DWORD *)(v3 + 364) > 0 )\n      {\n        v4 = GJAccountManager::sharedState((unsigned int)(*(_DWORD *)(v3 + 360) - *(_DWORD *)(v3 + 364)));\n        if ( *(_DWORD *)(v4 + 360) - *(_DWORD *)(v4 + 364) == *(_DWORD *)(*(_QWORD *)(a1 + 1072) + 344LL) )\n          return true;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::isOwner from 0x140196160 to 0x1401961c2 (98 bytes)\n; \n; 5 xrefs:\n; > EditorSoundConfigInfoLayer::init @ 0x140194135\n; > EditorSoundConfigInfoLayer::init @ 0x140194296\n; > EditorSoundConfigInfoLayer::soundPackDescSaved @ 0x140195fba\n; > EditorSoundConfigInfoLayer::onDeleteServer @ 0x140197ae9\n; > <???> @ 0x1409194c0\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x140196160\nsub     rsp, 20h                                                       ; +0x2, 0x140196162\ncmp     qword ptr [rcx+430h], 0                                        ; +0x6, 0x140196166\nmov     rbx, rcx                                                       ; +0xe, 0x14019616e\njz      short loc_1401961BA                                            ; +0x11, 0x140196171\ncall    GJAccountManager__sharedState                                  ; +0x13, 0x140196173\ntest    rax, rax                                                       ; +0x18, 0x140196178\njz      short loc_1401961BA                                            ; +0x1b, 0x14019617b\ncall    GJAccountManager__sharedState                                  ; +0x1d, 0x14019617d\nmov     ecx, [rax+168h]                                                ; +0x22, 0x140196182\nsub     ecx, [rax+16Ch]                                                ; +0x28, 0x140196188\ntest    ecx, ecx                                                       ; +0x2e, 0x14019618e\njle     short loc_1401961BA                                            ; +0x30, 0x140196190\ncall    GJAccountManager__sharedState                                  ; +0x32, 0x140196192\nmov     ecx, [rax+168h]                                                ; +0x37, 0x140196197\nsub     ecx, [rax+16Ch]                                                ; +0x3d, 0x14019619d\nmov     rax, [rbx+430h]                                                ; +0x43, 0x1401961a3\ncmp     ecx, [rax+158h]                                                ; +0x4a, 0x1401961aa\njnz     short loc_1401961BA                                            ; +0x50, 0x1401961b0\nmov     al, 1                                                          ; +0x52, 0x1401961b2\nadd     rsp, 20h                                                       ; +0x54, 0x1401961b4\npop     rbx                                                            ; +0x58, 0x1401961b8\nretn                                                                   ; +0x59, 0x1401961b9\nxor     al, al                                                         ; +0x5a, 0x1401961ba\nadd     rsp, 20h                                                       ; +0x5c, 0x1401961bc\npop     rbx                                                            ; +0x60, 0x1401961c0\nretn                                                                   ; +0x61, 0x1401961c1", "xrefs": ["EditorSoundConfigInfoLayer::init @ 0x140194135", "EditorSoundConfigInfoLayer::init @ 0x140194296", "EditorSoundConfigInfoLayer::soundPackDescSaved @ 0x140195fba", "EditorSoundConfigInfoLayer::onDeleteServer @ 0x140197ae9", "<???> @ 0x1409194c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}