// // CollisionBlockPopup::onDynamicBlock from 0x100286cd0 to 0x100286dc3 (243 bytes) // // 1 xrefs: // > CollisionBlockPopup::init @ 0x100286682 // // 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 CollisionBlockPopup::onDynamicBlock(CollisionBlockPopup *m_gameObjects, cocos2d::CCObject *a2) { CollisionBlockPopup *v2; // rbx bool v3; // al EffectGameObject *m_gameObject; // rcx unsigned int v5; // r14d __int64 v6; // r14 unsigned int v7; // ebx GameObject *v8; // rax v2 = m_gameObjects; v3 = !m_gameObjects->m_dynamicBlock; m_gameObjects->m_dynamicBlock = v3; m_gameObject = m_gameObjects->m_gameObject; if ( m_gameObject ) { m_gameObject->m_isDynamicBlock = v3; goto LABEL_8; } m_gameObjects = (CollisionBlockPopup *)m_gameObjects->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v5 = 0; do { a2 = (cocos2d::CCObject *)v5; *(_BYTE *)(sub_1007200C0(v2->m_gameObjects, v5++) + 1677) = v2->m_dynamicBlock; m_gameObjects = (CollisionBlockPopup *)v2->m_gameObjects; } while ( v5 < (unsigned int)sub_100720070(m_gameObjects) ); } if ( v2->m_gameObject ) { LABEL_8: v6 = sub_10071F9E0(m_gameObjects, a2); sub_10071FCD0(v6, v2->m_gameObject); if ( !v6 ) return; goto LABEL_9; } v6 = (__int64)v2->m_gameObjects; if ( !v6 ) return; LABEL_9: if ( (unsigned int)sub_100720070(v6) ) { v7 = 0; do { v8 = (GameObject *)sub_1007200C0(v6, v7); LevelEditorLayer::updateObjectLabel(v8); ++v7; } while ( v7 < (unsigned int)sub_100720070(v6) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source