// // sub_1002B9B0C from 0x1002b9b0c to 0x1002b9cf0 (484 bytes) // // 5 xrefs: // > PlayerObject::updateMove @ 0x1002b8510 // > PlayerObject::stopDashing @ 0x1002b9a8c // > PlayerObject::hitGround @ 0x1002c0760 // > PlayerObject::toggleSpiderMode @ 0x1002c82a0 // > PlayerObject::updateRobotAnimationSpeed @ 0x1002ca438 // // 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:02:25 +0000 // void __fastcall sub_1002B9B0C(__int64 a1) { __int64 v2; // x8 float v3; // s0 int v4; // w22 _BOOL4 v5; // w20 __int64 v6; // x21 char *v7; // x1 _BOOL4 v8; // w20 __int64 v9; // x21 __int64 v10; // x19 void *v11[2]; // [xsp+0h] [xbp-A0h] BYREF char v12; // [xsp+17h] [xbp-89h] void *v13[2]; // [xsp+18h] [xbp-88h] BYREF char v14; // [xsp+2Fh] [xbp-71h] void *v15[2]; // [xsp+30h] [xbp-70h] BYREF char v16; // [xsp+47h] [xbp-59h] void *__p[2]; // [xsp+48h] [xbp-58h] BYREF char v18; // [xsp+5Fh] [xbp-41h] __int128 __dst; // [xsp+60h] [xbp-40h] BYREF __int64 v20; // [xsp+70h] [xbp-30h] if ( (*(_BYTE *)(a1 + 2460) & 1) == 0 ) { v2 = *(_QWORD *)(*(_QWORD *)(a1 + 2144) + 648LL); if ( *(char *)(v2 + 423) < 0 ) { sub_1000097D0(&__dst, *(void **)(v2 + 400), *(_QWORD *)(v2 + 408)); } else { __dst = *(_OWORD *)(v2 + 400); v20 = *(_QWORD *)(v2 + 416); } v3 = *(float *)(a1 + 2476); if ( v3 > 1.1 ) { v4 = *(unsigned __int8 *)(a1 + 3051); sub_100009900(__p, "walk"); v5 = sub_1000045BC(__p, &__dst); if ( v18 < 0 ) operator delete(__p[0]); v6 = *(_QWORD *)(a1 + 2144); if ( v4 ) v7 = "run2"; else v7 = "run"; sub_100009900(v15, v7); CCAnimatedSprite::runAnimation(v6, v15); if ( v16 < 0 ) { operator delete(v15[0]); if ( !v5 ) goto LABEL_26; } else if ( !v5 ) { goto LABEL_26; } sub_1003C22A0(*(_QWORD *)(*(_QWORD *)(a1 + 2144) + 648LL), 0.1); goto LABEL_26; } if ( v3 <= 0.9 ) { v10 = *(_QWORD *)(a1 + 2144); sub_100009900(v11, "walk"); CCAnimatedSprite::runAnimation(v10, v11); if ( v12 < 0 ) operator delete(v11[0]); goto LABEL_26; } sub_100009900(__p, "walk"); v8 = sub_1000045BC(__p, &__dst); if ( v18 < 0 ) operator delete(__p[0]); v9 = *(_QWORD *)(a1 + 2144); sub_100009900(v13, "run"); CCAnimatedSprite::runAnimation(v9, v13); if ( v14 < 0 ) { operator delete(v13[0]); if ( !v8 ) goto LABEL_26; } else if ( !v8 ) { LABEL_26: if ( SHIBYTE(v20) < 0 ) operator delete((void *)__dst); return; } sub_1003C22A0(*(_QWORD *)(*(_QWORD *)(a1 + 2144) + 648LL), 0.1); goto LABEL_26; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source