// // StartPosObject::init from 0x1001bd920 to 0x1001bd9bf (159 bytes) // // 1 xrefs: // > @ 0x1008c48f0 // // 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 // bool __fastcall StartPosObject::init(StartPosObject *a1) { bool result; // al bool v3; // r15 LevelSettingsObject *v4; // rax LevelSettingsObject *m_startSettings; // rdi LevelSettingsObject *v6; // r14 result = EnhancedGameObject::init(a1, "edit_eStartPosBtn_001.png"); if ( result ) { v3 = result; a1->m_classType = Effect; a1->m_triggerTargetColor.b = -1; *(_WORD *)&a1->m_triggerTargetColor.r = -1; a1->m_duration = 0.5; a1->m_legacyHSV = 1; v4 = LevelSettingsObject::create(); m_startSettings = a1->m_startSettings; if ( m_startSettings == v4 ) { v6 = a1->m_startSettings; } else { v6 = v4; if ( v4 ) { cocos2d::CCObject::retain(v4); m_startSettings = a1->m_startSettings; } if ( m_startSettings ) cocos2d::CCObject::release(m_startSettings); a1->m_startSettings = v6; } v6->m_startsWithStartPos = 1; return v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source