{"type": "func", "start": 13273448, "end": 13273604, "name": "DeathStatsPopup::pollFetch", "pseudocode": "// \n// DeathStatsPopup::pollFetch from 0xca8968 to 0xca8a04 (156 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0xa5d78\n// > DeathStatsPopup::onClose @ 0xca747c\n// > DeathStatsPopup::onFetch @ 0xca76e0\n// > DeathStatsPopup::onFetch @ 0xca76f4\n// > DeathStatsPopup::pollFetch @ 0xca89c0\n// > DeathStatsPopup::pollFetch @ 0xca89ec\n// > <???> @ 0x1544a48\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:03 +0000\n// \n\n__int64 __fastcall DeathStatsPopup::pollFetch(DeathStatsPopup *this, float a2)\n{\n  GameLevelManager *v3; // x0\n  __int64 result; // x0\n\n  *((float *)this + 264) = *((float *)this + 264) + a2;\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(this);\n  result = GameLevelManager::isDeathDataFetched(v3, *((_DWORD *)this + 262));\n  if ( (_BYTE)result )\n  {\n    cocos2d::CCNode::unschedule(this, DeathStatsPopup::pollFetch, 0);\n    return DeathStatsPopup::showResult(this);\n  }\n  else if ( *((float *)this + 264) > 6.0 )\n  {\n    cocos2d::CCNode::unschedule(this, DeathStatsPopup::pollFetch, 0);\n    return DeathStatsPopup::setStatus(this, \"Fetch failed.\");\n  }\n  return result;\n}", "assembly": "; \n; DeathStatsPopup::pollFetch from 0xca8968 to 0xca8a04 (156 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0xa5d78\n; > DeathStatsPopup::onClose @ 0xca747c\n; > DeathStatsPopup::onFetch @ 0xca76e0\n; > DeathStatsPopup::onFetch @ 0xca76f4\n; > DeathStatsPopup::pollFetch @ 0xca89c0\n; > DeathStatsPopup::pollFetch @ 0xca89ec\n; > <???> @ 0x1544a48\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:03 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xca8968\nMOV             X29, SP                                                ; +0x4, 0xca896c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xca8970\nMOV             X19, X0                                                ; +0xc, 0xca8974\nLDR             S1, [X0,#0x420]                                        ; +0x10, 0xca8978\nFADD            S0, S1, S0                                             ; +0x14, 0xca897c\nSTR             S0, [X0,#0x420]                                        ; +0x18, 0xca8980\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x1c, 0xca8984\nLDR             W1, [X19,#0x418]; int                                  ; +0x20, 0xca8988\nBL              _ZN16GameLevelManager18isDeathDataFetchedEi; GameLevelManager::isDeathDataFetched(int) ; +0x24, 0xca898c\nUXTB            W0, W0                                                 ; +0x28, 0xca8990\nCBNZ            W0, loc_CA89E0                                         ; +0x2c, 0xca8994\nLDR             S1, [X19,#0x420]                                       ; +0x30, 0xca8998\nFMOV            S0, #6.0                                               ; +0x34, 0xca899c\nFCMPE           S1, S0                                                 ; +0x38, 0xca89a0\nB.GT            loc_CA89B4                                             ; +0x3c, 0xca89a4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0xca89a8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0xca89ac\nRET                                                                    ; +0x48, 0xca89b0\nADRP            X1, #_ZN15DeathStatsPopup9pollFetchEf_ptr@PAGE         ; +0x4c, 0xca89b4\nMOV             X0, X19                                                ; +0x50, 0xca89b8\nMOV             X2, #0                                                 ; +0x54, 0xca89bc\nLDR             X1, [X1,#_ZN15DeathStatsPopup9pollFetchEf_ptr@PAGEOFF]; DeathStatsPopup::pollFetch(float) ... ; +0x58, 0xca89c0\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x5c, 0xca89c4\nMOV             X0, X19; this                                          ; +0x60, 0xca89c8\nADRP            X1, #aFetchFailed@PAGE; \"Fetch failed.\"                ; +0x64, 0xca89cc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x68, 0xca89d0\nADD             X1, X1, #aFetchFailed@PAGEOFF; \"Fetch failed.\"         ; +0x6c, 0xca89d4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x70, 0xca89d8\nB               _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x74, 0xca89dc\nADRP            X1, #_ZN15DeathStatsPopup9pollFetchEf_ptr@PAGE         ; +0x78, 0xca89e0\nMOV             X0, X19                                                ; +0x7c, 0xca89e4\nMOV             X2, #0                                                 ; +0x80, 0xca89e8\nLDR             X1, [X1,#_ZN15DeathStatsPopup9pollFetchEf_ptr@PAGEOFF]; DeathStatsPopup::pollFetch(float) ... ; +0x84, 0xca89ec\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x88, 0xca89f0\nMOV             X0, X19; this                                          ; +0x8c, 0xca89f4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x90, 0xca89f8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x94, 0xca89fc\nB               _ZN15DeathStatsPopup10showResultEv; DeathStatsPopup::showResult(void) ; +0x98, 0xca8a00", "xrefs": ["<???> @ 0xa5d78", "DeathStatsPopup::onClose @ 0xca747c", "DeathStatsPopup::onFetch @ 0xca76e0", "DeathStatsPopup::onFetch @ 0xca76f4", "DeathStatsPopup::pollFetch @ 0xca89c0", "DeathStatsPopup::pollFetch @ 0xca89ec", "<???> @ 0x1544a48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}