{"type": "func", "start": 5369885200, "end": 5369885424, "name": "DeathStatsPopup::pollFetch", "pseudocode": "// \n// DeathStatsPopup::pollFetch from 0x14011f210 to 0x14011f2f0 (224 bytes)\n// \n// 7 xrefs:\n// > DeathStatsPopup::onFetch @ 0x14011f1c0\n// > DeathStatsPopup::onFetch @ 0x14011f1d8\n// > DeathStatsPopup::pollFetch @ 0x14011f287\n// > DeathStatsPopup::pollFetch @ 0x14011f2b5\n// > DeathStatsPopup::onClose @ 0x14011fb2a\n// > <???> @ 0x1409164e4\n// > <???> @ 0x1409164f0\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:26:56 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall DeathStatsPopup::pollFetch(__int64 a1, float a2)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rcx\n  void *v5; // [rsp+30h] [rbp+8h]\n  int v6; // [rsp+38h] [rbp+10h] BYREF\n\n  *(float *)(a1 + 1040) = a2 + *(float *)(a1 + 1040);\n  v3 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v5 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v5);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v3 = *(_QWORD *)&qword_14090BFB0;\n  }\n  v6 = *(_DWORD *)(a1 + 1032);\n  if ( sub_140066B50((_QWORD *)(v3 + 448), (unsigned __int8 *)&v6) )\n  {\n    cocos2d::CCNode::unschedule(a1, DeathStatsPopup::pollFetch);\n    DeathStatsPopup::showResult(a1);\n  }\n  else if ( *(float *)(a1 + 1040) > 6.0 )\n  {\n    cocos2d::CCNode::unschedule(a1, DeathStatsPopup::pollFetch);\n    v4 = *(_QWORD *)(a1 + 1024);\n    if ( v4 )\n      (**(void (__fastcall ***)(__int64, const char *))(v4 + 360))(v4 + 360, \"Fetch failed.\");\n  }\n}", "assembly": "; \n; DeathStatsPopup::pollFetch from 0x14011f210 to 0x14011f2f0 (224 bytes)\n; \n; 7 xrefs:\n; > DeathStatsPopup::onFetch @ 0x14011f1c0\n; > DeathStatsPopup::onFetch @ 0x14011f1d8\n; > DeathStatsPopup::pollFetch @ 0x14011f287\n; > DeathStatsPopup::pollFetch @ 0x14011f2b5\n; > DeathStatsPopup::onClose @ 0x14011fb2a\n; > <???> @ 0x1409164e4\n; > <???> @ 0x1409164f0\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:26:56 +0000\n; \npush    rbx                                                            ; +0x0, 0x14011f210\nsub     rsp, 20h                                                       ; +0x2, 0x14011f212\nmov     rbx, rcx                                                       ; +0x6, 0x14011f216\naddss   xmm1, dword ptr [rcx+410h]                                     ; +0x9, 0x14011f219\nmovss   dword ptr [rcx+410h], xmm1                                     ; +0x11, 0x14011f221\nmov     rcx, cs:qword_14090BFB0                                        ; +0x19, 0x14011f229\ntest    rcx, rcx                                                       ; +0x20, 0x14011f230\njnz     short loc_14011F267                                            ; +0x23, 0x14011f233\nmov     ecx, 690h; Size                                                ; +0x25, 0x14011f235\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2a, 0x14011f23a\nmov     [rsp+28h+arg_0], rax                                           ; +0x2f, 0x14011f23f\nmov     rcx, rax                                                       ; +0x34, 0x14011f244\ncall    GameLevelManager__GameLevelManager                             ; +0x37, 0x14011f247\nnop                                                                    ; +0x3c, 0x14011f24c\nmov     cs:qword_14090BFB0, rax                                        ; +0x3d, 0x14011f24d\nmov     rcx, [rax]                                                     ; +0x44, 0x14011f254\nmov     rdx, [rcx+48h]                                                 ; +0x47, 0x14011f257\nmov     rcx, rax                                                       ; +0x4b, 0x14011f25b\ncall    rdx                                                            ; +0x4e, 0x14011f25e\nmov     rcx, cs:qword_14090BFB0                                        ; +0x50, 0x14011f260\nmov     eax, [rbx+408h]                                                ; +0x57, 0x14011f267\nmov     [rsp+28h+arg_8], eax                                           ; +0x5d, 0x14011f26d\nadd     rcx, 1C0h                                                      ; +0x61, 0x14011f271\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x68, 0x14011f278\ncall    sub_140066B50                                                  ; +0x6d, 0x14011f27d\ntest    rax, rax                                                       ; +0x72, 0x14011f282\njz      short loc_14011F2A4                                            ; +0x75, 0x14011f285\nlea     rdx, DeathStatsPopup__pollFetch                                ; +0x77, 0x14011f287\nmov     rcx, rbx                                                       ; +0x7e, 0x14011f28e\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x81, 0x14011f291\nmov     rcx, rbx                                                       ; +0x87, 0x14011f297\nadd     rsp, 20h                                                       ; +0x8a, 0x14011f29a\npop     rbx                                                            ; +0x8e, 0x14011f29e\njmp     DeathStatsPopup__showResult                                    ; +0x8f, 0x14011f29f\nmovss   xmm0, dword ptr [rbx+410h]                                     ; +0x94, 0x14011f2a4\ncomiss  xmm0, cs:flt_140835490                                         ; +0x9c, 0x14011f2ac\njbe     short loc_14011F2EA                                            ; +0xa3, 0x14011f2b3\nlea     rdx, DeathStatsPopup__pollFetch                                ; +0xa5, 0x14011f2b5\nmov     rcx, rbx                                                       ; +0xac, 0x14011f2bc\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0xaf, 0x14011f2bf\nmov     rcx, [rbx+400h]                                                ; +0xb5, 0x14011f2c5\ntest    rcx, rcx                                                       ; +0xbc, 0x14011f2cc\njz      short loc_14011F2EA                                            ; +0xbf, 0x14011f2cf\nadd     rcx, 168h                                                      ; +0xc1, 0x14011f2d1\nmov     rax, [rcx]                                                     ; +0xc8, 0x14011f2d8\nlea     rdx, aFetchFailed; \"Fetch failed.\"                             ; +0xcb, 0x14011f2db\nadd     rsp, 20h                                                       ; +0xd2, 0x14011f2e2\npop     rbx                                                            ; +0xd6, 0x14011f2e6\njmp     qword ptr [rax]                                                ; +0xd7, 0x14011f2e7\nadd     rsp, 20h                                                       ; +0xda, 0x14011f2ea\npop     rbx                                                            ; +0xde, 0x14011f2ee\nretn                                                                   ; +0xdf, 0x14011f2ef", "xrefs": ["DeathStatsPopup::onFetch @ 0x14011f1c0", "DeathStatsPopup::onFetch @ 0x14011f1d8", "DeathStatsPopup::pollFetch @ 0x14011f287", "DeathStatsPopup::pollFetch @ 0x14011f2b5", "DeathStatsPopup::onClose @ 0x14011fb2a", "<???> @ 0x1409164e4", "<???> @ 0x1409164f0"], "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"}