// // PlayerObject::resetPlayerIcon from 0x1004039f0 to 0x100403be7 (503 bytes) // // 5 xrefs: // > PlayerObject::toggleFlyMode @ 0x1004033ba // > PlayerObject::toggleBirdMode @ 0x100403ff5 // > PlayerObject::toggleSwingMode @ 0x100404680 // > PlayerObject::toggleDartMode @ 0x100405099 // > PlayerObject::toggleSpiderMode @ 0x100405cdd // // 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 12:30:03 +0000 // __int64 __fastcall PlayerObject::resetPlayerIcon(__int64 a1) { __int64 v2; // r14 __int64 v3; // r14 __int64 v4; // rdi __int64 v5; // rdi void *v6; // rsi __int64 v7; // rdi _OWORD v9[2]; // [rsp+0h] [rbp-20h] BYREF if ( *(_BYTE *)(a1 + 2832) == 1 ) { v2 = *(_QWORD *)(a1 + 1800); cocos2d::CCNode::stopActionByTag(v2, 13); cocos2d::CCNode::stopActionByTag(v2, 14); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 160LL))(v2, 1.0); v3 = *(_QWORD *)(a1 + 1824); cocos2d::CCNode::stopActionByTag(v3, 13); cocos2d::CCNode::stopActionByTag(v3, 14); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, 1.0); } *(_QWORD *)(a1 + 764) = 0x41F0000041F00000LL; *(_DWORD *)(a1 + 2640) = 1106247680; PlayerObject::runRotateAction(a1); (*(void (__fastcall **)(_QWORD, _QWORD, float))(**(_QWORD **)(a1 + 1800) + 160LL))(*(_QWORD *)(a1 + 1800), 0, 1.0); (*(void (__fastcall **)(_QWORD, _QWORD *))(**(_QWORD **)(a1 + 1800) + 184LL))( *(_QWORD *)(a1 + 1800), &qword_100BE37D8); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1832) + 344LL))(*(_QWORD *)(a1 + 1832), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1848) + 344LL))(*(_QWORD *)(a1 + 1848), 0); PlayerObject::updatePlayerGlow(a1); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2168)); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2176)); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2184)); v4 = *(_QWORD *)(a1 + 2168); v9[0] = xmmword_100A09D20; (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v4 + 1360LL))(v4, v9); v5 = *(_QWORD *)(a1 + 2168); v9[0] = _mm_unpacklo_pd((__m128d)0x3F800000u, (__m128d)xmmword_100A03610); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v5 + 1392LL))(v5, v9); v6 = &unk_100A09E10; if ( !*(_BYTE *)(a1 + 2272) ) v6 = (void *)(a1 + 2605); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1904) + 960LL))(*(_QWORD *)(a1 + 1904), v6); PlayerObject::deactivateStreak(a1, 0); v7 = *(_QWORD *)(a1 + 1912); if ( v7 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, 0); GJActionManager::stopInternalAction(*(_QWORD *)(a1 + 3032), 6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 128LL))(a1, *(float *)(a1 + 2472)); return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 144LL))(a1, *(float *)(a1 + 2472)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source