{"type": "func", "start": 6412348, "end": 6412432, "name": "GJMessageCell::onViewMessage", "pseudocode": "// \n// GJMessageCell::onViewMessage from 0x61d83c to 0x61d890 (84 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x41cb8\n// > GJMessageCell::loadFromMessage @ 0x61cf14\n// > <???> @ 0x122a148\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJMessageCell::onViewMessage(GJMessageCell *a1, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v3; // x0\n  GJUserMessage *StoredUserMessage; // x0\n  GJMessagePopup *v5; // x0\n\n  if ( a1->m_message )\n  {\n    GJMessageCell::markAsRead(a1);\n    v3 = GameLevelManager::sharedState();\n    StoredUserMessage = GameLevelManager::getStoredUserMessage(v3, a1->m_message->m_messageID);\n    if ( !StoredUserMessage )\n      StoredUserMessage = a1->m_message;\n    v5 = GJMessagePopup::create(StoredUserMessage);\n    v5->show(v5);\n  }\n}", "assembly": "; \n; GJMessageCell::onViewMessage from 0x61d83c to 0x61d890 (84 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x41cb8\n; > GJMessageCell::loadFromMessage @ 0x61cf14\n; > <???> @ 0x122a148\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x61d83c\nMOV             X29, SP                                                ; +0x4, 0x61d840\nLDR             X2, [X0,#0x230]                                        ; +0x8, 0x61d844\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x61d848\nCBZ             X2, loc_61D87C                                         ; +0x10, 0x61d84c\nMOV             X19, X0                                                ; +0x14, 0x61d850\nBL              _ZN13GJMessageCell10markAsReadEv; GJMessageCell::markAsRead(void) ; +0x18, 0x61d854\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x1c, 0x61d858\nLDR             X1, [X19,#0x230]                                       ; +0x20, 0x61d85c\nLDR             W1, [X1,#0x13C]; int                                   ; +0x24, 0x61d860\nBL              _ZN16GameLevelManager20getStoredUserMessageEi; GameLevelManager::getStoredUserMessage(int) ; +0x28, 0x61d864\nCBZ             X0, loc_61D888                                         ; +0x2c, 0x61d868\nBL              _ZN14GJMessagePopup6createEP13GJUserMessage; GJMessagePopup::create(GJUserMessage *) ; +0x30, 0x61d86c\nLDR             X1, [X0]                                               ; +0x34, 0x61d870\nLDR             X1, [X1,#0x508]                                        ; +0x38, 0x61d874\nBLR             X1                                                     ; +0x3c, 0x61d878\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x61d87c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x61d880\nRET                                                                    ; +0x48, 0x61d884\nLDR             X0, [X19,#0x230]                                       ; +0x4c, 0x61d888\nB               loc_61D86C                                             ; +0x50, 0x61d88c", "xrefs": ["<???> @ 0x41cb8", "GJMessageCell::loadFromMessage @ 0x61cf14", "<???> @ 0x122a148"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}