// // GJGameState::controlTweenAction from 0x10010e120 to 0x10010e28b (363 bytes) // // 1 xrefs: // > GJBaseGameLayer::controlTriggersWithControlID @ 0x100136fce // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJGameState::controlTweenAction(GJGameState *a1, int a2, int a3, GJActionCommand a4) { std::__hash_node_base, void *> *>::__next_pointer next; // rdx __int64 *p_m_tweenActions; // rbx __int64 v7; // r12 void *v8; // rdi __int64 v9; // r12 void *v10; // rdi void *__p[7]; // [rsp+8h] [rbp-38h] BYREF next = a1->m_tweenActions.__table_.__p1_.__value_.__next_; if ( next ) { p_m_tweenActions = (__int64 *)&a1->m_tweenActions; if ( a3 == -1 ) { if ( a4 ) { if ( a4 == Pause ) { do { if ( HIDWORD(next[6].__next_) == a2 ) BYTE1(next[6].__next_) = 1; next = next->__next_; } while ( next ); } else if ( a4 == Resume ) { do { if ( HIDWORD(next[6].__next_) == a2 ) BYTE1(next[6].__next_) = 0; next = next->__next_; } while ( next ); } } else { do { if ( HIDWORD(next[6].__next_) == a2 ) { v9 = (__int64)next->__next_; sub_100056B40((__int64)__p, p_m_tweenActions, (__int64 *)next); v10 = __p[0]; __p[0] = nullptr; if ( v10 ) operator delete(v10); } else { v9 = (__int64)next->__next_; } next = (std::__hash_node_base, void *> *>::__next_pointer)v9; } while ( v9 ); } } else if ( a4 ) { if ( a4 == Pause ) { do { if ( LODWORD(next[7].__next_) == a3 ) BYTE1(next[6].__next_) = 1; next = next->__next_; } while ( next ); } else if ( a4 == Resume ) { do { if ( LODWORD(next[7].__next_) == a3 ) BYTE1(next[6].__next_) = 0; next = next->__next_; } while ( next ); } } else { do { if ( LODWORD(next[7].__next_) == a3 ) { v7 = (__int64)next->__next_; sub_100056B40((__int64)__p, p_m_tweenActions, (__int64 *)next); v8 = __p[0]; __p[0] = nullptr; if ( v8 ) operator delete(v8); } else { v7 = (__int64)next->__next_; } next = (std::__hash_node_base, void *> *>::__next_pointer)v7; } while ( v7 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source