{"type": "func", "start": 5370370944, "end": 5370371070, "name": "EditorSoundConfigInfoLayer::onInfo", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onInfo from 0x140195b80 to 0x140195bfe (126 bytes)\n// \n// 4 xrefs:\n// > EditorSoundConfigInfoLayer::init @ 0x140193ef4\n// > <???> @ 0x14089fa6c\n// > <???> @ 0x14089faa0\n// > <???> @ 0x14091946c\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\nvoid __fastcall EditorSoundConfigInfoLayer::onInfo(__int64 a1)\n{\n  __int64 v1; // r9\n  __int64 v2; // rcx\n  _DWORD *v3; // rbx\n  cocos2d::CCScene *v4; // rdi\n  int v5; // eax\n\n  v1 = *(_QWORD *)(a1 + 1072);\n  if ( v1 )\n  {\n    v3 = (_DWORD *)InfoLayer::create(0, 0, 0, v1);\n    if ( v3 )\n    {\n      v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v2) + 272);\n      if ( cocos2d::CCScene::getHighestChildZ(v4) + 1 >= 110 )\n        v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;\n      else\n        v5 = 110;\n      v3[148] = v5;\n      (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1064LL))(v3);\n    }\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onInfo from 0x140195b80 to 0x140195bfe (126 bytes)\n; \n; 4 xrefs:\n; > EditorSoundConfigInfoLayer::init @ 0x140193ef4\n; > <???> @ 0x14089fa6c\n; > <???> @ 0x14089faa0\n; > <???> @ 0x14091946c\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; \nsub     rsp, 28h                                                       ; +0x0, 0x140195b80\nmov     r9, [rcx+430h]                                                 ; +0x4, 0x140195b84\ntest    r9, r9                                                         ; +0xb, 0x140195b8b\njz      short loc_140195BF9                                            ; +0xe, 0x140195b8e\nxor     r8d, r8d                                                       ; +0x10, 0x140195b90\nmov     [rsp+28h+arg_0], rbx                                           ; +0x13, 0x140195b93\nxor     edx, edx                                                       ; +0x18, 0x140195b98\nxor     ecx, ecx                                                       ; +0x1a, 0x140195b9a\ncall    InfoLayer__create                                              ; +0x1c, 0x140195b9c\nmov     rbx, rax                                                       ; +0x21, 0x140195ba1\ntest    rax, rax                                                       ; +0x24, 0x140195ba4\njz      short loc_140195BF4                                            ; +0x27, 0x140195ba7\nmov     [rsp+28h+var_8], rdi                                           ; +0x29, 0x140195ba9\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2e, 0x140195bae\nmov     rdi, [rax+110h]                                                ; +0x34, 0x140195bb4\nmov     rcx, rdi                                                       ; +0x3b, 0x140195bbb\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x3e, 0x140195bbe\ninc     eax                                                            ; +0x44, 0x140195bc4\ncmp     eax, 6Eh ; 'n'                                                 ; +0x46, 0x140195bc6\njge     short loc_140195BD2                                            ; +0x49, 0x140195bc9\nmov     eax, 6Eh ; 'n'                                                 ; +0x4b, 0x140195bcb\njmp     short loc_140195BDD                                            ; +0x50, 0x140195bd0\nmov     rcx, rdi                                                       ; +0x52, 0x140195bd2\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x55, 0x140195bd5\ninc     eax                                                            ; +0x5b, 0x140195bdb\nmov     [rbx+250h], eax                                                ; +0x5d, 0x140195bdd\nmov     rcx, rbx                                                       ; +0x63, 0x140195be3\nmov     rax, [rbx]                                                     ; +0x66, 0x140195be6\ncall    qword ptr [rax+428h]                                           ; +0x69, 0x140195be9\nmov     rdi, [rsp+28h+var_8]                                           ; +0x6f, 0x140195bef\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x140195bf4\nadd     rsp, 28h                                                       ; +0x79, 0x140195bf9\nretn                                                                   ; +0x7d, 0x140195bfd", "xrefs": ["EditorSoundConfigInfoLayer::init @ 0x140193ef4", "<???> @ 0x14089fa6c", "<???> @ 0x14089faa0", "<???> @ 0x14091946c"], "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"}