// // GJBaseGameLayer::processMoveActionsStep from 0x140334220 to 0x14033444b (555 bytes) // // 5 xrefs: // > GJBaseGameLayer::loadUpToPosition @ 0x14033e966 // > GJBaseGameLayer::update @ 0x140341095 // > @ 0x1408b6ae8 // > @ 0x1408b6b1c // > @ 0x14091f814 // // 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:30:33 +0000 // void __fastcall GJBaseGameLayer::processMoveActionsStep(__int64 a1, float a2, unsigned __int8 a3) { int v3; // ebx __int64 v6; // rdi __int64 v7; // r10 _QWORD *v8; // rdx unsigned int v9; // r8d __int64 v10; // r11 __int64 v11; // rcx __int64 v12; // rax __int64 v13; // rcx __int64 v14; // rcx __int64 v15; // r14 __int64 v16; // rdi __int64 v17; // rcx char v18; // [rsp+50h] [rbp+8h] BYREF v3 = 0; *(_QWORD *)(a1 + 3832) = 0; *(_QWORD *)(a1 + 3840) = 0; v6 = *(_QWORD *)(a1 + 1848); v7 = *(_QWORD *)(a1 + 1840); if ( v7 != v6 ) { while ( 1 ) { v8 = *(_QWORD **)(a1 + 2408); v9 = *(_DWORD *)(*(_QWORD *)v7 + 1480LL); v10 = v8[220]; v11 = v8[222]; v12 = *(_QWORD *)(v11 + 16 * (v8[225] & (0x100000001B3LL * (((unsigned __int64)v9 >> 24) ^ (0x100000001B3LL * (BYTE2(v9) ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)v9 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(v9)))))))) + 8); if ( v12 == v10 ) goto LABEL_7; v13 = *(_QWORD *)(v11 + 16 * (v8[225] & (0x100000001B3LL * (((unsigned __int64)*(unsigned int *)(*(_QWORD *)v7 + 1480LL) >> 24) ^ (0x100000001B3LL * ((unsigned __int8)BYTE2(*(_DWORD *)(*(_QWORD *)v7 + 1480LL)) ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)v9 ^ 0xCBF29CE484222325uLL)) ^ (unsigned __int8)BYTE1(*(_DWORD *)(*(_QWORD *)v7 + 1480LL)))))))))); if ( v9 != *(_DWORD *)(v12 + 16) ) break; LABEL_8: if ( !v12 ) v12 = v8[220]; if ( v12 != v10 ) { v14 = *(_QWORD *)(v12 + 24); if ( v14 ) *(_BYTE *)(v14 + 209) = 1; } v7 += 96; if ( v7 == v6 ) goto LABEL_14; } while ( v12 != v13 ) { v12 = *(_QWORD *)(v12 + 8); if ( v9 == *(_DWORD *)(v12 + 16) ) goto LABEL_8; } LABEL_7: v12 = 0; goto LABEL_8; } LABEL_14: GJBaseGameLayer::processDynamicObjectActions(a1, 1); GJBaseGameLayer::processTransformActions(a1, a3); GJBaseGameLayer::processRotationActions(a1); GJBaseGameLayer::processDynamicObjectActions(a1, 0); GJBaseGameLayer::processMoveActions(a1); GJBaseGameLayer::processPlayerFollowActions(a1); GJBaseGameLayer::processAdvancedFollowActions(a1); GJBaseGameLayer::processFollowActions(a1); GJBaseGameLayer::processAreaActions(a1, a2, a3); if ( *(_BYTE *)(a1 + 12668) && *(int *)(a1 + 3836) > 0 ) { v15 = 0; do { v16 = *(_QWORD *)(v15 + *(_QWORD *)(a1 + 3608)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, *(double *)(v16 + 952), *(double *)(v16 + 960)); cocos2d::CCSprite::setPosition((cocos2d::CCSprite *)v16, (const struct cocos2d::CCPoint *)&v18); v17 = *(_QWORD *)(v16 + 896); if ( v17 ) { if ( !*(_BYTE *)(v16 + 874) ) (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v17 + 184LL))(v17, &v18); } ++v3; v15 += 8; } while ( v3 < *(_DWORD *)(a1 + 3836) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source