{"type": "func", "start": 3383200, "end": 3383254, "name": "GJMessageCell::onViewMessage", "pseudocode": "// \n// GJMessageCell::onViewMessage from 0x339fa0 to 0x339fd6 (54 bytes)\n// \n// 0 xrefs:\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; // r0\n  GJUserMessage *StoredUserMessage; // r0\n  GJMessagePopup *v5; // r0\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 0x339fa0 to 0x339fd6 (54 bytes)\n; \n; 0 xrefs:\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\nLDR.W           R3, [R0,#0x1A8]                                        ; +0x0, 0x339fa0\nPUSH            {R4,LR}                                                ; +0x4, 0x339fa4\nMOV             R4, R0                                                 ; +0x6, 0x339fa6\nCBZ             R3, locret_339FD4                                      ; +0x8, 0x339fa8\nBL              _ZN13GJMessageCell10markAsReadEv; GJMessageCell::markAsRead(void) ; +0xa, 0x339faa\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xe, 0x339fae\nLDR.W           R3, [R4,#0x1A8]                                        ; +0x12, 0x339fb2\nLDR.W           R1, [R3,#0x108]; int                                   ; +0x16, 0x339fb6\nBL              _ZN16GameLevelManager20getStoredUserMessageEi; GameLevelManager::getStoredUserMessage(int) ; +0x1a, 0x339fba\nCBNZ            R0, loc_339FC4                                         ; +0x1e, 0x339fbe\nLDR.W           R0, [R4,#0x1A8]; this                                  ; +0x20, 0x339fc0\nBL              _ZN14GJMessagePopup6createEP13GJUserMessage; GJMessagePopup::create(GJUserMessage *) ; +0x24, 0x339fc4\nPOP.W           {R4,LR}                                                ; +0x28, 0x339fc8\nLDR             R3, [R0]                                               ; +0x2c, 0x339fcc\nLDR.W           R3, [R3,#0x284]                                        ; +0x2e, 0x339fce\nBX              R3                                                     ; +0x32, 0x339fd2\nPOP             {R4,PC}                                                ; +0x34, 0x339fd4", "xrefs": [], "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"}