// // SetupAdvFollowRetargetPopup::updateDefaultTriggerValues from 0xa17ddc to 0xa18008 (556 bytes) // // 2 xrefs: // > @ 0xa1d30 // > @ 0x11d6b48 // // 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 SetupAdvFollowRetargetPopup::updateDefaultTriggerValues(SetupAdvFollowRetargetPopup *a1) { CCTextInputNode *v2; // x21 const unsigned __int8 *v3; // x2 unsigned __int8 *v4; // x0 unsigned int *v5; // x2 int v6; // w1 unsigned int *v7; // x2 unsigned int *v8; // x2 const unsigned __int8 *v9; // [xsp+40h] [xbp+40h] BYREF SetupTriggerPopup::updateDefaultTriggerValues(a1); v2 = (CCTextInputNode *)cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 71); if ( v2 ) { if ( a1->getValue(a1, 138) != 0.0 ) { sub_D153B8((int)&v9, "P1"); CCTextInputNode::setString(v2, &v9); v3 = v9; v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 == (const unsigned __int8 *)&qword_124B6B0 ) return; if ( &pthread_create ) { v8 = (unsigned int *)(v9 - 8); do v6 = __ldaxr(v8); while ( __stlxr(v6 - 1, v8) ); goto LABEL_20; } LABEL_22: v6 = *((_DWORD *)v3 - 2); *((_DWORD *)v3 - 2) = v6 - 1; LABEL_20: if ( v6 <= 0 ) operator delete(v4); return; } if ( a1->getValue(a1, 200) != 0.0 ) { sub_D153B8((int)&v9, "P2"); CCTextInputNode::setString(v2, &v9); v3 = v9; v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 == (const unsigned __int8 *)&qword_124B6B0 ) return; if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v6 = __ldaxr(v7); while ( __stlxr(v6 - 1, v7) ); goto LABEL_20; } goto LABEL_22; } if ( a1->getValue(a1, 201) != 0.0 ) { sub_D153B8((int)&v9, "C"); CCTextInputNode::setString(v2, &v9); v3 = v9; v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v9 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); goto LABEL_20; } goto LABEL_22; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source