{"type": "func", "start": 5370013264, "end": 5370013520, "name": "FRequestProfilePage::onUpdate", "pseudocode": "// \n// FRequestProfilePage::onUpdate from 0x14013e650 to 0x14013e750 (256 bytes)\n// \n// 2 xrefs:\n// > FRequestProfilePage::init @ 0x14013e46d\n// > <???> @ 0x1406ca1c4\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\n// Hidden C++ exception states: #wind=3\nvoid FRequestProfilePage::onUpdate(FRequestProfilePage *a1, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v3; // rcx\n  GameLevelManager *v4; // rcx\n  GameLevelManager *v5; // rcx\n  void *v6; // [rsp+40h] [rbp+18h]\n  void *v7; // [rsp+40h] [rbp+18h]\n  void *v8; // [rsp+40h] [rbp+18h]\n\n  v3 = (GameLevelManager *)qword_1406C2EC0;\n  if ( !qword_1406C2EC0 )\n  {\n    v6 = operator new(0x3D0u);\n    qword_1406C2EC0 = sub_140141280(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n    v3 = (GameLevelManager *)qword_1406C2EC0;\n  }\n  if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, \"upd_requests\", 5.0) - 1) > 4 )\n  {\n    v4 = (GameLevelManager *)qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v7 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v7);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v4 = (GameLevelManager *)qword_1406C2EC0;\n    }\n    GameLevelManager::makeTimeStamp(v4, \"upd_requests\");\n    v5 = (GameLevelManager *)qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v8 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v8);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v5 = (GameLevelManager *)qword_1406C2EC0;\n    }\n    GameLevelManager::invalidateRequests(v5, a1->m_sent, 1);\n  }\n}", "assembly": "; \n; FRequestProfilePage::onUpdate from 0x14013e650 to 0x14013e750 (256 bytes)\n; \n; 2 xrefs:\n; > FRequestProfilePage::init @ 0x14013e46d\n; > <???> @ 0x1406ca1c4\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\npush    rbx                                                            ; +0x0, 0x14013e650\nsub     rsp, 20h                                                       ; +0x2, 0x14013e652\nmov     rbx, rcx                                                       ; +0x6, 0x14013e656\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x9, 0x14013e659\ntest    rcx, rcx                                                       ; +0x10, 0x14013e660\njnz     short loc_14013E694                                            ; +0x13, 0x14013e663\nmov     ecx, 3D0h; Size                                                ; +0x15, 0x14013e665\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14013e66a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x14013e66f\nmov     rcx, rax                                                       ; +0x24, 0x14013e674\ncall    sub_140141280                                                  ; +0x27, 0x14013e677\nnop                                                                    ; +0x2c, 0x14013e67c\nmov     cs:qword_1406C2EC0, rax                                        ; +0x2d, 0x14013e67d\nmov     rdx, [rax]                                                     ; +0x34, 0x14013e684\nmov     rcx, rax                                                       ; +0x37, 0x14013e687\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x14013e68a\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x3d, 0x14013e68d\nmovss   xmm2, cs:flt_140623010                                         ; +0x44, 0x14013e694\nlea     rdx, aUpdRequests; \"upd_requests\"                              ; +0x4c, 0x14013e69c\ncall    GameLevelManager__getTimeLeft                                  ; +0x53, 0x14013e6a3\ndec     eax                                                            ; +0x58, 0x14013e6a8\ncmp     eax, 4                                                         ; +0x5a, 0x14013e6aa\njbe     loc_14013E74A                                                  ; +0x5d, 0x14013e6ad\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x63, 0x14013e6b3\ntest    rcx, rcx                                                       ; +0x6a, 0x14013e6ba\njnz     short loc_14013E6EF                                            ; +0x6d, 0x14013e6bd\nmov     ecx, 3D0h; Size                                                ; +0x6f, 0x14013e6bf\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x74, 0x14013e6c4\nmov     [rsp+28h+arg_10], rax                                          ; +0x79, 0x14013e6c9\nmov     rcx, rax                                                       ; +0x7e, 0x14013e6ce\ncall    sub_140141280                                                  ; +0x81, 0x14013e6d1\nnop                                                                    ; +0x86, 0x14013e6d6\nmov     cs:qword_1406C2EC0, rax                                        ; +0x87, 0x14013e6d7\nmov     r8, [rax]                                                      ; +0x8e, 0x14013e6de\nmov     rcx, rax                                                       ; +0x91, 0x14013e6e1\ncall    qword ptr [r8+48h]                                             ; +0x94, 0x14013e6e4\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x98, 0x14013e6e8\nlea     rdx, aUpdRequests; \"upd_requests\"                              ; +0x9f, 0x14013e6ef\ncall    GameLevelManager__makeTimeStamp                                ; +0xa6, 0x14013e6f6\nmov     rcx, cs:qword_1406C2EC0                                        ; +0xab, 0x14013e6fb\ntest    rcx, rcx                                                       ; +0xb2, 0x14013e702\njnz     short loc_14013E736                                            ; +0xb5, 0x14013e705\nmov     ecx, 3D0h; Size                                                ; +0xb7, 0x14013e707\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbc, 0x14013e70c\nmov     [rsp+28h+arg_10], rax                                          ; +0xc1, 0x14013e711\nmov     rcx, rax                                                       ; +0xc6, 0x14013e716\ncall    sub_140141280                                                  ; +0xc9, 0x14013e719\nnop                                                                    ; +0xce, 0x14013e71e\nmov     cs:qword_1406C2EC0, rax                                        ; +0xcf, 0x14013e71f\nmov     rdx, [rax]                                                     ; +0xd6, 0x14013e726\nmov     rcx, rax                                                       ; +0xd9, 0x14013e729\ncall    qword ptr [rdx+48h]                                            ; +0xdc, 0x14013e72c\nmov     rcx, cs:qword_1406C2EC0                                        ; +0xdf, 0x14013e72f\nmov     r8b, 1                                                         ; +0xe6, 0x14013e736\nmovzx   edx, byte ptr [rbx+298h]                                       ; +0xe9, 0x14013e739\nadd     rsp, 20h                                                       ; +0xf0, 0x14013e740\npop     rbx                                                            ; +0xf4, 0x14013e744\njmp     GameLevelManager__invalidateRequests                           ; +0xf5, 0x14013e745\nadd     rsp, 20h                                                       ; +0xfa, 0x14013e74a\npop     rbx                                                            ; +0xfe, 0x14013e74e\nretn                                                                   ; +0xff, 0x14013e74f", "xrefs": ["FRequestProfilePage::init @ 0x14013e46d", "<???> @ 0x1406ca1c4"], "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"}