// // PlayLayer::dtDeathIsBarren from 0x14051ee20 to 0x14051f08b (619 bytes) // // 2 xrefs: // > PlayLayer::tryShowDeathMarkers @ 0x14051fd78 // > @ 0x14092b394 // // This function is hookable on this platform (idp: pc, 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:33:37 +0000 // char __fastcall PlayLayer::dtDeathIsBarren(__int64 a1, unsigned int a2, unsigned int a3, char a4, char a5) { __int64 v9; // rbx __int64 v10; // rdx unsigned __int64 v11; // rsi __int64 v12; // r14 float v13; // xmm7_4 float v14; // xmm6_4 __int64 v15; // rcx unsigned __int64 i; // rsi float v18; // xmm7_4 float v19; // xmm6_4 _BYTE v20[32]; // [rsp+30h] [rbp-58h] BYREF cocos2d::CCRect::CCRect( (cocos2d::CCRect *)v20, *(float *)(a1 + 1292) - 20.0, *(float *)(a1 + 1296) - 20.0, *(float *)(a1 + 13148) + 40.0, *(float *)(a1 + 13152) + 40.0); v9 = 0; if ( a5 && (v10 = *(_QWORD *)(a1 + 15072), (unsigned __int64)((*(_QWORD *)(a1 + 15080) - v10) >> 2) >= 9) ) { v11 = 9; v12 = 0; while ( 1 ) { v13 = (float)(10 * *(_DWORD *)(v12 + v10)) + 5.0; v14 = (float)(10 * *(_DWORD *)(v12 + v10 + 4)) + 5.0; if ( v13 >= cocos2d::CCRect::getMinX((cocos2d::CCRect *)v20) && cocos2d::CCRect::getMaxX((cocos2d::CCRect *)v20) >= v13 && v14 >= cocos2d::CCRect::getMinY((cocos2d::CCRect *)v20) && cocos2d::CCRect::getMaxY((cocos2d::CCRect *)v20) >= v14 ) { return 0; } v10 = *(_QWORD *)(a1 + 15072); v12 += 36; v11 += 9LL; if ( v11 > (*(_QWORD *)(a1 + 15080) - v10) >> 2 ) goto LABEL_9; } } else { LABEL_9: if ( a4 ) { v15 = *(_QWORD *)(a1 + 15096); if ( (unsigned __int64)((*(_QWORD *)(a1 + 15104) - v15) >> 2) >= 4 ) { for ( i = 4; i <= (*(_QWORD *)(a1 + 15104) - v15) >> 2; i += 4LL ) { if ( *(_QWORD *)(v9 + v15) == __PAIR64__(a3, a2) ) { if ( *(int *)(v15 + v9 + 8) >= 3 ) return 0; } else { v18 = (float)(10 * *(_DWORD *)(v9 + v15)) + 5.0; v19 = (float)(10 * *(_DWORD *)(v9 + v15 + 4)) + 5.0; if ( v18 >= cocos2d::CCRect::getMinX((cocos2d::CCRect *)v20) && cocos2d::CCRect::getMaxX((cocos2d::CCRect *)v20) >= v18 && v19 >= cocos2d::CCRect::getMinY((cocos2d::CCRect *)v20) && cocos2d::CCRect::getMaxY((cocos2d::CCRect *)v20) >= v19 ) { return 0; } } v15 = *(_QWORD *)(a1 + 15096); v9 += 16; } } } return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source