{"type": "func", "start": 5370875536, "end": 5370875861, "name": "FRequestProfilePage::onUpdate", "pseudocode": "// \n// FRequestProfilePage::onUpdate from 0x140210e90 to 0x140210fd5 (325 bytes)\n// \n// 3 xrefs:\n// > FRequestProfilePage::init @ 0x1402100c5\n// > <???> @ 0x14091b4dc\n// > <???> @ 0x14091b4e8\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:28:19 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 __fastcall FRequestProfilePage::onUpdate(__int64 a1)\n{\n  cocos2d::CCObject *v2; // rcx\n  __int64 v3; // rcx\n  __int64 result; // rax\n  __int64 v5; // rcx\n  __int64 v6; // r8\n  __int64 v7; // rcx\n  void *v8; // [rsp+30h] [rbp+8h]\n  void *v9; // [rsp+30h] [rbp+8h]\n  void *v10; // [rsp+30h] [rbp+8h]\n\n  if ( *(_BYTE *)(a1 + 896) )\n  {\n    *(_BYTE *)(a1 + 896) = 0;\n    v2 = *(cocos2d::CCObject **)(a1 + 888);\n    if ( v2 )\n    {\n      cocos2d::CCObject::release(v2);\n      *(_QWORD *)(a1 + 888) = 0;\n    }\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 336LL))(*(_QWORD *)(a1 + 792), 0);\n  }\n  v3 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v8 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v8);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v3 = *(_QWORD *)&qword_14090BFB0;\n  }\n  result = (unsigned int)GameLevelManager::getTimeLeft(v3, \"upd_requests\") - 1;\n  if ( (unsigned int)result > 4 )\n  {\n    v5 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v9 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v9);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v5 = *(_QWORD *)&qword_14090BFB0;\n    }\n    GameLevelManager::makeTimeStamp(v5, \"upd_requests\");\n    v7 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v10 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v7 = *(_QWORD *)&qword_14090BFB0;\n    }\n    LOBYTE(v6) = 1;\n    return GameLevelManager::invalidateRequests(v7, *(unsigned __int8 *)(a1 + 704), v6);\n  }\n  return result;\n}", "assembly": "; \n; FRequestProfilePage::onUpdate from 0x140210e90 to 0x140210fd5 (325 bytes)\n; \n; 3 xrefs:\n; > FRequestProfilePage::init @ 0x1402100c5\n; > <???> @ 0x14091b4dc\n; > <???> @ 0x14091b4e8\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:28:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x140210e90\nsub     rsp, 20h                                                       ; +0x2, 0x140210e92\nmov     rbx, rcx                                                       ; +0x6, 0x140210e96\ncmp     byte ptr [rcx+380h], 0                                         ; +0x9, 0x140210e99\njz      short loc_140210ED8                                            ; +0x10, 0x140210ea0\nmov     byte ptr [rcx+380h], 0                                         ; +0x12, 0x140210ea2\nmov     rcx, [rcx+378h]                                                ; +0x19, 0x140210ea9\ntest    rcx, rcx                                                       ; +0x20, 0x140210eb0\njz      short loc_140210EC6                                            ; +0x23, 0x140210eb3\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x25, 0x140210eb5\nmov     qword ptr [rbx+378h], 0                                        ; +0x2b, 0x140210ebb\nmov     rcx, [rbx+318h]                                                ; +0x36, 0x140210ec6\nmov     rax, [rcx]                                                     ; +0x3d, 0x140210ecd\nxor     edx, edx                                                       ; +0x40, 0x140210ed0\ncall    qword ptr [rax+150h]                                           ; +0x42, 0x140210ed2\nmov     rcx, cs:qword_14090BFB0                                        ; +0x48, 0x140210ed8\ntest    rcx, rcx                                                       ; +0x4f, 0x140210edf\njnz     short loc_140210F16                                            ; +0x52, 0x140210ee2\nmov     ecx, 690h; Size                                                ; +0x54, 0x140210ee4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x59, 0x140210ee9\nmov     [rsp+28h+arg_0], rax                                           ; +0x5e, 0x140210eee\nmov     rcx, rax                                                       ; +0x63, 0x140210ef3\ncall    GameLevelManager__GameLevelManager                             ; +0x66, 0x140210ef6\nnop                                                                    ; +0x6b, 0x140210efb\nmov     cs:qword_14090BFB0, rax                                        ; +0x6c, 0x140210efc\nmov     rcx, [rax]                                                     ; +0x73, 0x140210f03\nmov     rdx, [rcx+48h]                                                 ; +0x76, 0x140210f06\nmov     rcx, rax                                                       ; +0x7a, 0x140210f0a\ncall    rdx                                                            ; +0x7d, 0x140210f0d\nmov     rcx, cs:qword_14090BFB0                                        ; +0x7f, 0x140210f0f\nmovss   xmm2, cs:flt_140835470                                         ; +0x86, 0x140210f16\nlea     rdx, aUpdRequests; \"upd_requests\"                              ; +0x8e, 0x140210f1e\ncall    GameLevelManager__getTimeLeft                                  ; +0x95, 0x140210f25\ndec     eax                                                            ; +0x9a, 0x140210f2a\ncmp     eax, 4                                                         ; +0x9c, 0x140210f2c\njbe     loc_140210FCF                                                  ; +0x9f, 0x140210f2f\nmov     rcx, cs:qword_14090BFB0                                        ; +0xa5, 0x140210f35\ntest    rcx, rcx                                                       ; +0xac, 0x140210f3c\njnz     short loc_140210F71                                            ; +0xaf, 0x140210f3f\nmov     ecx, 690h; Size                                                ; +0xb1, 0x140210f41\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb6, 0x140210f46\nmov     [rsp+28h+arg_0], rax                                           ; +0xbb, 0x140210f4b\nmov     rcx, rax                                                       ; +0xc0, 0x140210f50\ncall    GameLevelManager__GameLevelManager                             ; +0xc3, 0x140210f53\nnop                                                                    ; +0xc8, 0x140210f58\nmov     cs:qword_14090BFB0, rax                                        ; +0xc9, 0x140210f59\nmov     r8, [rax]                                                      ; +0xd0, 0x140210f60\nmov     rcx, rax                                                       ; +0xd3, 0x140210f63\ncall    qword ptr [r8+48h]                                             ; +0xd6, 0x140210f66\nmov     rcx, cs:qword_14090BFB0                                        ; +0xda, 0x140210f6a\nlea     rdx, aUpdRequests; \"upd_requests\"                              ; +0xe1, 0x140210f71\ncall    GameLevelManager__makeTimeStamp                                ; +0xe8, 0x140210f78\nmov     rcx, cs:qword_14090BFB0                                        ; +0xed, 0x140210f7d\ntest    rcx, rcx                                                       ; +0xf4, 0x140210f84\njnz     short loc_140210FBB                                            ; +0xf7, 0x140210f87\nmov     ecx, 690h; Size                                                ; +0xf9, 0x140210f89\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xfe, 0x140210f8e\nmov     [rsp+28h+arg_0], rax                                           ; +0x103, 0x140210f93\nmov     rcx, rax                                                       ; +0x108, 0x140210f98\ncall    GameLevelManager__GameLevelManager                             ; +0x10b, 0x140210f9b\nnop                                                                    ; +0x110, 0x140210fa0\nmov     cs:qword_14090BFB0, rax                                        ; +0x111, 0x140210fa1\nmov     rcx, [rax]                                                     ; +0x118, 0x140210fa8\nmov     rdx, [rcx+48h]                                                 ; +0x11b, 0x140210fab\nmov     rcx, rax                                                       ; +0x11f, 0x140210faf\ncall    rdx                                                            ; +0x122, 0x140210fb2\nmov     rcx, cs:qword_14090BFB0                                        ; +0x124, 0x140210fb4\nmov     r8b, 1                                                         ; +0x12b, 0x140210fbb\nmovzx   edx, byte ptr [rbx+2C0h]                                       ; +0x12e, 0x140210fbe\nadd     rsp, 20h                                                       ; +0x135, 0x140210fc5\npop     rbx                                                            ; +0x139, 0x140210fc9\njmp     GameLevelManager__invalidateRequests                           ; +0x13a, 0x140210fca\nadd     rsp, 20h                                                       ; +0x13f, 0x140210fcf\npop     rbx                                                            ; +0x143, 0x140210fd3\nretn                                                                   ; +0x144, 0x140210fd4", "xrefs": ["FRequestProfilePage::init @ 0x1402100c5", "<???> @ 0x14091b4dc", "<???> @ 0x14091b4e8"], "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"}