// // sub_1004B8D30 from 0x1004b8d30 to 0x1004b8dd4 (164 bytes) // // 4 xrefs: // > sub_1004B8B0C @ 0x1004b8c00 // > sub_1004B8D30 @ 0x1004b8d5c // > sub_1004B8D30 @ 0x1004b8d90 // > DeathStatsPopup::onClose @ 0x1004b913c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:06:15 +0000 // __int64 __fastcall sub_1004B8D30(__int64 a1, float a2) { __int64 v3; // x0 __int64 result; // x0 *(float *)(a1 + 1056) = *(float *)(a1 + 1056) + a2; v3 = GameLevelManager::sharedState(); result = sub_1000B4234(v3, *(_DWORD *)(a1 + 1048)); if ( (_DWORD)result ) { cocos2d::CCNode::unschedule((unsigned int *)a1, (unsigned __int64)sub_1004B8D30, 0); return sub_1004B8DD4(a1); } else if ( *(float *)(a1 + 1056) > 6.0 ) { cocos2d::CCNode::unschedule((unsigned int *)a1, (unsigned __int64)sub_1004B8D30, 0); result = *(_QWORD *)(a1 + 1040); if ( result ) return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)result + 928LL))(result, "Fetch failed."); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source