// // sub_10096D590 from 0x10096d590 to 0x10096d67d (237 bytes) // // 1 xrefs: // > SectionedContentNode::addChild @ 0x10096e454 // // 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:38:51 +0000 // __int64 __fastcall sub_10096D590(__int64 a1, _DWORD *a2, unsigned int a3, unsigned int a4) { __int64 result; // rax __m128 v5; // xmm0 float v7; // xmm1_4 __m128 v8; // xmm0 int v9; // r13d __int64 v10; // rax __int64 v11; // rdi if ( a2 ) { v5 = 0; if ( *(float *)(a1 + 520) <= 0.0 ) { v11 = *(_QWORD *)(a1 + 416); if ( v11 ) return cocos2d::CCNode::addChild(v11, a2, a3, a4); } else { *(double *)v5.i64 = (*(double (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 240LL))(a2); v7 = *(float *)(a1 + 520); v8 = _mm_xor_ps(v5, (__m128)xmmword_100A035F0); v8.f32[0] = v8.f32[0] / v7; v9 = (int)_mm_round_ss(v8, v8, 9).f32[0]; if ( v7 <= 0.0 ) v9 = 0; if ( __dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCMenuItem, 0) ) { v10 = sub_10096D370(a1, v9); } else { v10 = (__int64)sub_10096D1C0(a1, v9); } return (*(__int64 (__fastcall **)(__int64, _DWORD *, _QWORD, _QWORD))(*(_QWORD *)v10 + 472LL))(v10, a2, a3, a4); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source