{"type": "func", "start": 5373388144, "end": 5373388406, "name": "MessagesProfilePage::onUpdate", "pseudocode": "// \n// MessagesProfilePage::onUpdate from 0x140476570 to 0x140476676 (262 bytes)\n// \n// 2 xrefs:\n// > MessagesProfilePage::init @ 0x1404761f0\n// > <???> @ 0x1409283c4\n// \n// This function is hookable on this platform (idp: pc, 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 11:32:40 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall MessagesProfilePage::onUpdate(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n  __int64 v4; // rcx\n  void *v5; // [rsp+40h] [rbp+18h]\n  void *v6; // [rsp+40h] [rbp+18h]\n  void *v7; // [rsp+40h] [rbp+18h]\n\n  v2 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v5 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v5);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v2 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( (unsigned int)GameLevelManager::getTimeLeft(v2, \"upd_messages\", 5.0) - 1 > 4 )\n  {\n    v3 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v6 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v3 = *(_QWORD *)&qword_14090BFB0;\n    }\n    GameLevelManager::makeTimeStamp(v3, \"upd_messages\");\n    v4 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v7 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v4 = *(_QWORD *)&qword_14090BFB0;\n    }\n    GameLevelManager::invalidateMessages(v4, *(_BYTE *)(a1 + 696), 1);\n  }\n}", "assembly": "; \n; MessagesProfilePage::onUpdate from 0x140476570 to 0x140476676 (262 bytes)\n; \n; 2 xrefs:\n; > MessagesProfilePage::init @ 0x1404761f0\n; > <???> @ 0x1409283c4\n; \n; This function is hookable on this platform (idp: pc, 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 11:32:40 +0000\n; \npush    rbx                                                            ; +0x0, 0x140476570\nsub     rsp, 20h                                                       ; +0x2, 0x140476572\nmov     rbx, rcx                                                       ; +0x6, 0x140476576\nmov     rcx, cs:qword_14090BFB0                                        ; +0x9, 0x140476579\ntest    rcx, rcx                                                       ; +0x10, 0x140476580\njnz     short loc_1404765B7                                            ; +0x13, 0x140476583\nmov     ecx, 690h; Size                                                ; +0x15, 0x140476585\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14047658a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x14047658f\nmov     rcx, rax                                                       ; +0x24, 0x140476594\ncall    GameLevelManager__GameLevelManager                             ; +0x27, 0x140476597\nnop                                                                    ; +0x2c, 0x14047659c\nmov     cs:qword_14090BFB0, rax                                        ; +0x2d, 0x14047659d\nmov     rcx, [rax]                                                     ; +0x34, 0x1404765a4\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1404765a7\nmov     rcx, rax                                                       ; +0x3b, 0x1404765ab\ncall    rdx                                                            ; +0x3e, 0x1404765ae\nmov     rcx, cs:qword_14090BFB0                                        ; +0x40, 0x1404765b0\nmovss   xmm2, cs:flt_140835470                                         ; +0x47, 0x1404765b7\nlea     rdx, aUpdMessages; \"upd_messages\"                              ; +0x4f, 0x1404765bf\ncall    GameLevelManager__getTimeLeft                                  ; +0x56, 0x1404765c6\ndec     eax                                                            ; +0x5b, 0x1404765cb\ncmp     eax, 4                                                         ; +0x5d, 0x1404765cd\njbe     loc_140476670                                                  ; +0x60, 0x1404765d0\nmov     rcx, cs:qword_14090BFB0                                        ; +0x66, 0x1404765d6\ntest    rcx, rcx                                                       ; +0x6d, 0x1404765dd\njnz     short loc_140476612                                            ; +0x70, 0x1404765e0\nmov     ecx, 690h; Size                                                ; +0x72, 0x1404765e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x77, 0x1404765e7\nmov     [rsp+28h+arg_10], rax                                          ; +0x7c, 0x1404765ec\nmov     rcx, rax                                                       ; +0x81, 0x1404765f1\ncall    GameLevelManager__GameLevelManager                             ; +0x84, 0x1404765f4\nnop                                                                    ; +0x89, 0x1404765f9\nmov     cs:qword_14090BFB0, rax                                        ; +0x8a, 0x1404765fa\nmov     r8, [rax]                                                      ; +0x91, 0x140476601\nmov     rcx, rax                                                       ; +0x94, 0x140476604\ncall    qword ptr [r8+48h]                                             ; +0x97, 0x140476607\nmov     rcx, cs:qword_14090BFB0                                        ; +0x9b, 0x14047660b\nlea     rdx, aUpdMessages; \"upd_messages\"                              ; +0xa2, 0x140476612\ncall    GameLevelManager__makeTimeStamp                                ; +0xa9, 0x140476619\nmov     rcx, cs:qword_14090BFB0                                        ; +0xae, 0x14047661e\ntest    rcx, rcx                                                       ; +0xb5, 0x140476625\njnz     short loc_14047665C                                            ; +0xb8, 0x140476628\nmov     ecx, 690h; Size                                                ; +0xba, 0x14047662a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbf, 0x14047662f\nmov     [rsp+28h+arg_10], rax                                          ; +0xc4, 0x140476634\nmov     rcx, rax                                                       ; +0xc9, 0x140476639\ncall    GameLevelManager__GameLevelManager                             ; +0xcc, 0x14047663c\nnop                                                                    ; +0xd1, 0x140476641\nmov     cs:qword_14090BFB0, rax                                        ; +0xd2, 0x140476642\nmov     rcx, [rax]                                                     ; +0xd9, 0x140476649\nmov     rdx, [rcx+48h]                                                 ; +0xdc, 0x14047664c\nmov     rcx, rax                                                       ; +0xe0, 0x140476650\ncall    rdx                                                            ; +0xe3, 0x140476653\nmov     rcx, cs:qword_14090BFB0                                        ; +0xe5, 0x140476655\nmov     r8b, 1                                                         ; +0xec, 0x14047665c\nmovzx   edx, byte ptr [rbx+2B8h]                                       ; +0xef, 0x14047665f\nadd     rsp, 20h                                                       ; +0xf6, 0x140476666\npop     rbx                                                            ; +0xfa, 0x14047666a\njmp     GameLevelManager__invalidateMessages                           ; +0xfb, 0x14047666b\nadd     rsp, 20h                                                       ; +0x100, 0x140476670\npop     rbx                                                            ; +0x104, 0x140476674\nretn                                                                   ; +0x105, 0x140476675", "xrefs": ["MessagesProfilePage::init @ 0x1404761f0", "<???> @ 0x1409283c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}