{"type": "func", "start": 7883488, "end": 7883542, "name": "EditorSoundConfigInfoLayer::onViewProfile", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onViewProfile from 0x784ae0 to 0x784b16 (54 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\nFLAlertLayer *__fastcall EditorSoundConfigInfoLayer::onViewProfile(FLAlertLayer *this, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v2; // r4\n  GameManager *v3; // r0\n  bool v4; // r2\n\n  v2 = this;\n  if ( *((_DWORD *)this + 187) )\n  {\n    v3 = (GameManager *)GameManager::sharedState(this);\n    GameManager::setGameVariable(v3, \"0047\", (_BYTE *)&dword_0 + 1);\n    this = ProfilePage::create(*(ProfilePage **)(*((_DWORD *)v2 + 187) + 288), 0, v4);\n    if ( this )\n      return (FLAlertLayer *)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)this + 656))(this);\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onViewProfile from 0x784ae0 to 0x784b16 (54 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,LR}                                                ; +0x0, 0x784ae0\nMOV             R4, R0                                                 ; +0x2, 0x784ae2\nLDR.W           R3, [R0,#0x2EC]                                        ; +0x4, 0x784ae4\nCBZ             R3, locret_784B14                                      ; +0x8, 0x784ae8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x784aea\nLDR             R1, =(a0047 - 0x784AF6); \"0047\"                        ; +0xe, 0x784aee\nMOVS            R2, #1; bool                                           ; +0x10, 0x784af0\nADD             R1, PC; \"0047\"                                         ; +0x12, 0x784af2\nBL              _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x14, 0x784af4\nLDR.W           R3, [R4,#0x2EC]                                        ; +0x18, 0x784af8\nMOVS            R1, #0; int                                            ; +0x1c, 0x784afc\nLDR.W           R0, [R3,#0x120]; this                                  ; +0x1e, 0x784afe\nBL              _ZN11ProfilePage6createEib; ProfilePage::create(int,bool) ; +0x22, 0x784b02\nCBZ             R0, locret_784B14                                      ; +0x26, 0x784b06\nLDR             R3, [R0]                                               ; +0x28, 0x784b08\nPOP.W           {R4,LR}                                                ; +0x2a, 0x784b0a\nLDR.W           R3, [R3,#0x290]                                        ; +0x2e, 0x784b0e\nBX              R3                                                     ; +0x32, 0x784b12\nPOP             {R4,PC}                                                ; +0x34, 0x784b14", "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"}