// // cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad from 0x100157640 to 0x1001576d8 (152 bytes) // // 1 xrefs: // > cocos2d::CCTMXLayer::tileAt @ 0x100244ec9 // // 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:25:04 +0000 // __int64 __fastcall cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad( __int64 a1, __int64 a2, unsigned int a3, unsigned int a4) { __int64 v7; // rdi __int64 v8; // rdx unsigned int *v9; // rax __int64 v10; // rcx unsigned __int64 v11; // rax unsigned __int64 v12; // rcx *(_DWORD *)(a2 + 360) = a3; v7 = *(_QWORD *)(a1 + 344); v8 = 0; if ( v7 ) { v9 = *(unsigned int **)(v7 + 56); v10 = *v9; if ( *v9 ) { v11 = *((_QWORD *)v9 + 2); v12 = v11 + 8 * v10 - 8; v8 = 0; do { if ( !*(_QWORD *)v11 ) break; if ( *(_DWORD *)(*(_QWORD *)v11 + 360LL) >= a3 ) break; v8 = (unsigned int)(v8 + 1); v11 += 8LL; } while ( v11 <= v12 ); } } sub_1007FF110(v7, a2, v8); cocos2d::CCNode::addChild(a1, a2, a3, a4); *(_BYTE *)(a1 + 288) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source