{"type": "func", "start": 7884482, "end": 7884552, "name": "EditorSoundConfigInfoLayer::isOwner", "pseudocode": "// \n// EditorSoundConfigInfoLayer::isOwner from 0x784ec2 to 0x784f08 (70 bytes)\n// \n// 3 xrefs:\n// > EditorSoundConfigInfoLayer::editsServerDescription @ 0x784f0c\n// > EditorSoundConfigInfoLayer::onDeleteServer @ 0x785a8e\n// > EditorSoundConfigInfoLayer::init @ 0x788036\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:31 +0000\n// \n\nint __fastcall EditorSoundConfigInfoLayer::isOwner(EditorSoundConfigInfoLayer *this)\n{\n  GJAccountManager *v3; // r0\n  GJAccountManager *v4; // r0\n  int v5; // r0\n\n  if ( !*((_DWORD *)this + 187) )\n    return 0;\n  v3 = (GJAccountManager *)GJAccountManager::sharedState(this);\n  if ( !v3 )\n    return 0;\n  v4 = (GJAccountManager *)GJAccountManager::sharedState(v3);\n  if ( *((_DWORD *)v4 + 70) - *((_DWORD *)v4 + 71) <= 0 )\n    return 0;\n  v5 = GJAccountManager::sharedState(v4);\n  return *(_DWORD *)(v5 + 280)\n       - *(_DWORD *)(v5 + 284)\n       - *(_DWORD *)(*((_DWORD *)this + 187) + 288)\n       + (*(_DWORD *)(v5 + 280) - *(_DWORD *)(v5 + 284) == *(_DWORD *)(*((_DWORD *)this + 187) + 288))\n       + *(_DWORD *)(*((_DWORD *)this + 187) + 288)\n       - (*(_DWORD *)(v5 + 280)\n        - *(_DWORD *)(v5 + 284));\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::isOwner from 0x784ec2 to 0x784f08 (70 bytes)\n; \n; 3 xrefs:\n; > EditorSoundConfigInfoLayer::editsServerDescription @ 0x784f0c\n; > EditorSoundConfigInfoLayer::onDeleteServer @ 0x785a8e\n; > EditorSoundConfigInfoLayer::init @ 0x788036\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:31 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x784ec2\nMOV             R4, R0                                                 ; +0x2, 0x784ec4\nLDR.W           R3, [R0,#0x2EC]                                        ; +0x4, 0x784ec6\nCBNZ            R3, loc_784ED0                                         ; +0x8, 0x784eca\nMOVS            R0, #0; this                                           ; +0xa, 0x784ecc\nPOP             {R4,PC}                                                ; +0xc, 0x784ece\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xe, 0x784ed0\nCMP             R0, #0                                                 ; +0x12, 0x784ed4\nBEQ             loc_784ECC                                             ; +0x14, 0x784ed6\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x16, 0x784ed8\nLDR.W           R3, [R0,#0x118]                                        ; +0x1a, 0x784edc\nLDR.W           R2, [R0,#0x11C]                                        ; +0x1e, 0x784ee0\nSUBS            R3, R3, R2                                             ; +0x22, 0x784ee4\nCMP             R3, #0                                                 ; +0x24, 0x784ee6\nBLE             loc_784ECC                                             ; +0x26, 0x784ee8\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x28, 0x784eea\nLDR.W           R3, [R0,#0x118]                                        ; +0x2c, 0x784eee\nLDR.W           R0, [R0,#0x11C]                                        ; +0x30, 0x784ef2\nSUBS            R0, R3, R0                                             ; +0x34, 0x784ef6\nLDR.W           R3, [R4,#0x2EC]                                        ; +0x36, 0x784ef8\nLDR.W           R3, [R3,#0x120]                                        ; +0x3a, 0x784efc\nSUBS            R3, R0, R3                                             ; +0x3e, 0x784f00\nNEGS            R0, R3                                                 ; +0x40, 0x784f02\nADCS            R0, R3                                                 ; +0x42, 0x784f04\nPOP             {R4,PC}                                                ; +0x44, 0x784f06", "xrefs": ["EditorSoundConfigInfoLayer::editsServerDescription @ 0x784f0c", "EditorSoundConfigInfoLayer::onDeleteServer @ 0x785a8e", "EditorSoundConfigInfoLayer::init @ 0x788036"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}