{"type": "func", "start": 7883376, "end": 7883448, "name": "EditorSoundConfigInfoLayer::onInfo", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onInfo from 0x784a70 to 0x784ab8 (72 bytes)\n// \n// 0 xrefs:\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\n_DWORD *__fastcall EditorSoundConfigInfoLayer::onInfo(_DWORD *this, cocos2d::CCObject *a2)\n{\n  GJLevelList *v2; // r3\n  int *v3; // r4\n  cocos2d::CCScene *v4; // r5\n  int v5; // r0\n  int v6; // r3\n  GJEditorSoundConfig *savedregs; // [sp+0h] [bp+0h]\n\n  v2 = (GJLevelList *)*(this + 187);\n  if ( v2 )\n  {\n    this = (_DWORD *)InfoLayer::create(nullptr, nullptr, nullptr, v2, savedregs);\n    v3 = this;\n    if ( this )\n    {\n      v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 220);\n      if ( (int)cocos2d::CCScene::getHighestChildZ(v4) <= 109 )\n        v5 = 110;\n      else\n        v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;\n      v6 = *v3;\n      v3[116] = v5;\n      return (_DWORD *)(*(int (__fastcall **)(int *))(v6 + 656))(v3);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onInfo from 0x784a70 to 0x784ab8 (72 bytes)\n; \n; 0 xrefs:\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-R6,LR}; GJEditorSoundConfig *                      ; +0x0, 0x784a70\nLDR.W           R3, [R0,#0x2EC]; GJLevelList *                         ; +0x2, 0x784a72\nCBZ             R3, locret_784AB6                                      ; +0x6, 0x784a76\nMOVS            R0, #0; this                                           ; +0x8, 0x784a78\nMOV             R1, R0; GJGameLevel *                                  ; +0xa, 0x784a7a\nMOV             R2, R0; GJUserScore *                                  ; +0xc, 0x784a7c\nBL              _ZN9InfoLayer6createEP11GJGameLevelP11GJUserScoreP11GJLevelListP19GJEditorSoundConfig; InfoLayer::create(GJGameLevel *,GJUserScore *,GJLevelList *,GJEditorSoundConfig *) ; +0xe, 0x784a7e\nMOV             R4, R0                                                 ; +0x12, 0x784a82\nCBZ             R0, locret_784AB6                                      ; +0x14, 0x784a84\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x16, 0x784a86\nLDR.W           R5, [R0,#0xDC]                                         ; +0x1a, 0x784a8a\nMOV             R0, R5; this                                           ; +0x1e, 0x784a8e\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x20, 0x784a90\nCMP             R0, #0x6D ; 'm'                                        ; +0x24, 0x784a94\nBLE             loc_784AA2                                             ; +0x26, 0x784a96\nMOV             R0, R5; this                                           ; +0x28, 0x784a98\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x2a, 0x784a9a\nADDS            R0, #1                                                 ; +0x2e, 0x784a9e\nB               loc_784AA4                                             ; +0x30, 0x784aa0\nMOVS            R0, #0x6E ; 'n'                                        ; +0x32, 0x784aa2\nLDR             R3, [R4]                                               ; +0x34, 0x784aa4\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x36, 0x784aa6\nMOV             R0, R4                                                 ; +0x3a, 0x784aaa\nPOP.W           {R4-R6,LR}                                             ; +0x3c, 0x784aac\nLDR.W           R3, [R3,#0x290]                                        ; +0x40, 0x784ab0\nBX              R3                                                     ; +0x44, 0x784ab4\nPOP             {R4-R6,PC}                                             ; +0x46, 0x784ab6", "xrefs": [], "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"}