{"type": "func", "start": 7798480, "end": 7798608, "name": "DeathStatsPopup::pollFetch", "pseudocode": "// \n// DeathStatsPopup::pollFetch from 0x76fed0 to 0x76ff50 (128 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:14 +0000\n// \n\nint __fastcall DeathStatsPopup::pollFetch(DeathStatsPopup *this, float a2)\n{\n  GameLevelManager *v3; // r0\n  unsigned int v4; // r2\n  int result; // r0\n\n  *((float *)this + 184) = *((float *)this + 184) + a2;\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(this);\n  result = GameLevelManager::isDeathDataFetched(v3, *((_DWORD *)this + 182), v4);\n  if ( result )\n  {\n    cocos2d::CCNode::unschedule(this, DeathStatsPopup::pollFetch, 0);\n    return DeathStatsPopup::showResult(this);\n  }\n  else if ( *((float *)this + 184) > 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 0x76fed0 to 0x76ff50 (128 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:14 +0000\n; \nPUSH            {R0-R4,LR}                                             ; +0x0, 0x76fed0\nVMOV            S14, R1                                                ; +0x2, 0x76fed2\nVLDR            S15, [R0,#0x2E0]                                       ; +0x6, 0x76fed6\nMOV             R4, R0                                                 ; +0xa, 0x76feda\nVADD.F32        S15, S15, S14                                          ; +0xc, 0x76fedc\nVSTR            S15, [R0,#0x2E0]                                       ; +0x10, 0x76fee0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x14, 0x76fee4\nLDR.W           R1, [R4,#0x2D8]; int                                   ; +0x18, 0x76fee8\nBL              _ZN16GameLevelManager18isDeathDataFetchedEi; GameLevelManager::isDeathDataFetched(int) ; +0x1c, 0x76feec\nCBZ             R0, loc_76FF16                                         ; +0x20, 0x76fef0\nLDR             R3, =(_ZN15DeathStatsPopup9pollFetchEf_ptr - 0x76FEFA) ; +0x22, 0x76fef2\nMOV             R0, R4                                                 ; +0x24, 0x76fef4\nADD             R3, PC; _ZN15DeathStatsPopup9pollFetchEf_ptr           ; +0x26, 0x76fef6\nLDR             R3, [R3]; DeathStatsPopup::pollFetch(float)            ; +0x28, 0x76fef8\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x2a, 0x76fefa\nMOVS            R3, #0                                                 ; +0x2c, 0x76fefc\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x2e, 0x76fefe\nADD             R3, SP, #0x10+var_s0                                   ; +0x30, 0x76ff00\nLDMDB.W         R3, {R1,R2}                                            ; +0x32, 0x76ff02\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x36, 0x76ff06\nMOV             R0, R4; this                                           ; +0x3a, 0x76ff0a\nADD             SP, SP, #0x10                                          ; +0x3c, 0x76ff0c\nPOP.W           {R4,LR}                                                ; +0x3e, 0x76ff0e\nB.W             _ZN15DeathStatsPopup10showResultEv; DeathStatsPopup::showResult(void) ; +0x42, 0x76ff12\nVMOV.F32        S15, #6.0                                              ; +0x46, 0x76ff16\nVLDR            S14, [R4,#0x2E0]                                       ; +0x4a, 0x76ff1a\nVCMPE.F32       S14, S15                                               ; +0x4e, 0x76ff1e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x52, 0x76ff22\nBLE             loc_76FF4C                                             ; +0x56, 0x76ff26\nLDR             R3, =(_ZN15DeathStatsPopup9pollFetchEf_ptr - 0x76FF32) ; +0x58, 0x76ff28\nSTR             R0, [SP,#0x10+var_C]                                   ; +0x5a, 0x76ff2a\nMOV             R0, R4                                                 ; +0x5c, 0x76ff2c\nADD             R3, PC; _ZN15DeathStatsPopup9pollFetchEf_ptr           ; +0x5e, 0x76ff2e\nLDR             R3, [R3]; DeathStatsPopup::pollFetch(float)            ; +0x60, 0x76ff30\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x62, 0x76ff32\nLDMFD.W         SP, {R1,R2}                                            ; +0x64, 0x76ff34\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x68, 0x76ff38\nLDR             R1, =(aFetchFailed - 0x76FF44); \"Fetch failed.\"        ; +0x6c, 0x76ff3c\nMOV             R0, R4; this                                           ; +0x6e, 0x76ff3e\nADD             R1, PC; \"Fetch failed.\"                                ; +0x70, 0x76ff40\nADD             SP, SP, #0x10                                          ; +0x72, 0x76ff42\nPOP.W           {R4,LR}                                                ; +0x74, 0x76ff44\nB.W             _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x78, 0x76ff48\nADD             SP, SP, #0x10                                          ; +0x7c, 0x76ff4c\nPOP             {R4,PC}                                                ; +0x7e, 0x76ff4e", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}