{"type": "func", "start": 13421388, "end": 13421476, "name": "EditorSoundConfigInfoLayer::onViewProfile", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onViewProfile from 0xcccb4c to 0xcccba4 (88 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xbdb38\n// > EditorSoundConfigInfoLayer::init @ 0xcd0dcc\n// > <???> @ 0x1545800\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::onViewProfile(_QWORD *this, cocos2d::CCObject *a2)\n{\n  _QWORD *v2; // x19\n  GameManager *v3; // x0\n\n  if ( *(this + 136) )\n  {\n    v2 = this;\n    v3 = (GameManager *)GameManager::sharedState((GameManager *)this);\n    GameManager::setGameVariable(v3, \"0047\", 1u);\n    this = (_QWORD *)ProfilePage::create((ProfilePage *)*(unsigned int *)(v2[136] + 340LL), 0);\n    if ( this )\n      return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(*this + 1312LL))(this);\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onViewProfile from 0xcccb4c to 0xcccba4 (88 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xbdb38\n; > EditorSoundConfigInfoLayer::init @ 0xcd0dcc\n; > <???> @ 0x1545800\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,#var_20]!                                ; +0x0, 0xcccb4c\nMOV             X29, SP                                                ; +0x4, 0xcccb50\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xcccb54\nLDR             X1, [X0,#0x440]                                        ; +0xc, 0xcccb58\nCBZ             X1, loc_CCCB98                                         ; +0x10, 0xcccb5c\nMOV             X19, X0                                                ; +0x14, 0xcccb60\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0xcccb64\nADRP            X1, #a0047@PAGE; \"0047\"                                ; +0x1c, 0xcccb68\nMOV             W2, #1; bool                                           ; +0x20, 0xcccb6c\nADD             X1, X1, #a0047@PAGEOFF; \"0047\"                         ; +0x24, 0xcccb70\nBL              _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x28, 0xcccb74\nLDR             X0, [X19,#0x440]                                       ; +0x2c, 0xcccb78\nMOV             W1, #0; int                                            ; +0x30, 0xcccb7c\nLDR             W0, [X0,#0x154]; this                                  ; +0x34, 0xcccb80\nBL              _ZN11ProfilePage6createEib; ProfilePage::create(int,bool) ; +0x38, 0xcccb84\nCBZ             X0, loc_CCCB98                                         ; +0x3c, 0xcccb88\nLDR             X1, [X0]                                               ; +0x40, 0xcccb8c\nLDR             X1, [X1,#0x520]                                        ; +0x44, 0xcccb90\nBLR             X1                                                     ; +0x48, 0xcccb94\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0xcccb98\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0xcccb9c\nRET                                                                    ; +0x54, 0xcccba0", "xrefs": ["<???> @ 0xbdb38", "EditorSoundConfigInfoLayer::init @ 0xcd0dcc", "<???> @ 0x1545800"], "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"}