// // sub_100261AF0 from 0x100261af0 to 0x100261ba0 (176 bytes) // // 18 xrefs: // > @ 0x100ab6a08 // > @ 0x100ab9d20 // > @ 0x100af0000 // > @ 0x100af5678 // > @ 0x100af5bd0 // > @ 0x100b146c8 // > @ 0x100b33c20 // > @ 0x100b34100 // > @ 0x100b345f8 // > @ 0x100b34b08 // > @ 0x100b35018 // > @ 0x100b35528 // > @ 0x100b35a20 // > @ 0x100b72df8 // > @ 0x100b732b0 // > @ 0x100b7fc28 // > @ 0x100b95508 // > @ 0x100b959a0 // // 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_100261AF0(__int64 a1, unsigned __int16 *a2) { __int64 result; // rax void *v3; // rax void *v4; // rbx __int64 v5; // rax __int16 v6; // [rsp-1Ch] [rbp-1Ch] BYREF char v7; // [rsp-1Ah] [rbp-1Ah] *(_BYTE *)(a1 + 15) = *((_BYTE *)a2 + 2); *(_WORD *)(a1 + 13) = *a2; result = *a2; *(_BYTE *)(a1 + 12) = *((_BYTE *)a2 + 2); *(_WORD *)(a1 + 10) = result; if ( *(_BYTE *)(a1 + 16) == 1 ) { v7 = -1; v6 = -1; if ( *(_QWORD *)(a1 - 104) ) { v3 = __dynamic_cast( *(const void **)(a1 - 104), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v3 ) { v4 = v3; if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v3 + 64LL))(v3) ) { v5 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4); v6 = *(_WORD *)v5; v7 = *(_BYTE *)(v5 + 2); } } } return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)(a1 - 320) + 968LL))(a1 - 320, &v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source