// // sub_100261CC0 from 0x100261cc0 to 0x100261db6 (246 bytes) // // 22 xrefs: // > @ 0x100ab6a58 // > @ 0x100ab9d70 // > @ 0x100ae57c8 // > @ 0x100af0050 // > @ 0x100af56c8 // > @ 0x100af5c20 // > @ 0x100b14718 // > @ 0x100b1cd28 // > @ 0x100b33c70 // > @ 0x100b34150 // > @ 0x100b34648 // > @ 0x100b34b58 // > @ 0x100b35068 // > @ 0x100b35578 // > @ 0x100b35a70 // > @ 0x100b72e48 // > @ 0x100b73300 // > @ 0x100b7fc78 // > @ 0x100b92460 // > @ 0x100b95558 // > @ 0x100b959f0 // > @ 0x100ba2bf0 // // 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:27:31 +0000 // __int64 __fastcall sub_100261CC0(_BYTE *a1, unsigned __int8 *a2) { __int64 result; // rax const void **v3; // r12 unsigned __int64 v4; // r13 a1[10] = (int)((double)((unsigned __int8)a1[13] * *a2) / 255.0); a1[11] = (int)((double)((unsigned __int8)a1[14] * a2[1]) / 255.0); result = (unsigned int)(int)((double)((unsigned __int8)a1[15] * a2[2]) / 255.0); a1[12] = result; if ( a1[16] == 1 ) { result = *((_QWORD *)a1 - 14); if ( result ) { result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v3 = *(const void ***)(result + 16); v4 = (unsigned __int64)&v3[*(unsigned int *)result - 1]; do { if ( !*v3 ) break; result = (__int64)__dynamic_cast( *v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( result ) result = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)result + 80LL))(result, a1 + 10); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source