{"type": "func", "start": 13421204, "end": 13421324, "name": "EditorSoundConfigInfoLayer::onInfo", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onInfo from 0xccca94 to 0xcccb0c (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xb26c0\n// > EditorSoundConfigInfoLayer::init @ 0xcd1b9c\n// > <???> @ 0x1545170\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 13:06:24 +0000\n// \n\n_QWORD *__fastcall EditorSoundConfigInfoLayer::onInfo(\n        _QWORD *this,\n        cocos2d::CCObject *a2,\n        __int64 a3,\n        __int64 a4,\n        GJEditorSoundConfig *a5)\n{\n  GJLevelList *v5; // x3\n  _QWORD *v6; // x19\n  cocos2d::CCScene *v7; // x20\n  int HighestChildZ; // w0\n  int v9; // w1\n  __int64 v10; // x2\n\n  v5 = (GJLevelList *)*(this + 136);\n  if ( v5 )\n  {\n    this = (_QWORD *)InfoLayer::create(nullptr, nullptr, nullptr, v5, a5);\n    v6 = this;\n    if ( this )\n    {\n      v7 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 272);\n      HighestChildZ = cocos2d::CCScene::getHighestChildZ(v7);\n      v9 = 110;\n      if ( HighestChildZ > 109 )\n        v9 = cocos2d::CCScene::getHighestChildZ(v7) + 1;\n      v10 = *v6;\n      *((_DWORD *)v6 + 148) = v9;\n      return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(v10 + 1312))(v6);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onInfo from 0xccca94 to 0xcccb0c (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xb26c0\n; > EditorSoundConfigInfoLayer::init @ 0xcd1b9c\n; > <???> @ 0x1545170\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 13:06:24 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xccca94\nMOV             X29, SP                                                ; +0x4, 0xccca98\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xccca9c\nLDR             X3, [X0,#0x440]; GJLevelList *                         ; +0xc, 0xcccaa0\nCBZ             X3, loc_CCCAF0                                         ; +0x10, 0xcccaa4\nMOV             X0, #0; this                                           ; +0x14, 0xcccaa8\nMOV             X1, #0; GJGameLevel *                                  ; +0x18, 0xcccaac\nMOV             X2, #0; GJUserScore *                                  ; +0x1c, 0xcccab0\nBL              _ZN9InfoLayer6createEP11GJGameLevelP11GJUserScoreP11GJLevelListP19GJEditorSoundConfig; InfoLayer::create(GJGameLevel *,GJUserScore *,GJLevelList *,GJEditorSoundConfig *) ; +0x20, 0xcccab4\nMOV             X19, X0                                                ; +0x24, 0xcccab8\nCBZ             X0, loc_CCCAF0                                         ; +0x28, 0xcccabc\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0xcccac0\nLDR             X20, [X0,#0x110]                                       ; +0x30, 0xcccac4\nMOV             X0, X20; this                                          ; +0x34, 0xcccac8\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x38, 0xcccacc\nCMP             W0, #0x6D ; 'm'                                        ; +0x3c, 0xcccad0\nMOV             W1, #0x6E ; 'n'                                        ; +0x40, 0xcccad4\nB.GT            loc_CCCAFC                                             ; +0x44, 0xcccad8\nLDR             X2, [X19]                                              ; +0x48, 0xcccadc\nMOV             X0, X19                                                ; +0x4c, 0xcccae0\nSTR             W1, [X19,#0x250]                                       ; +0x50, 0xcccae4\nLDR             X1, [X2,#0x520]                                        ; +0x54, 0xcccae8\nBLR             X1                                                     ; +0x58, 0xcccaec\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0xcccaf0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0xcccaf4\nRET                                                                    ; +0x64, 0xcccaf8\nMOV             X0, X20; this                                          ; +0x68, 0xcccafc\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x6c, 0xcccb00\nADD             W1, W0, #1                                             ; +0x70, 0xcccb04\nB               loc_CCCADC                                             ; +0x74, 0xcccb08", "xrefs": ["<???> @ 0xb26c0", "EditorSoundConfigInfoLayer::init @ 0xcd1b9c", "<???> @ 0x1545170"], "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"}