//
// generateAllBinaryStrings from 0xb11b98 to 0xb11c94 (252 bytes)
//
// 6 xrefs:
// > generateAllBinaryStrings @ 0xb11be8
// > generateAllBinaryStrings @ 0xb11c08
// > GJSmartTemplate::logTemplateStatus @ 0xb11d0c
// > GJSmartTemplate::generateRemapDict @ 0xb12230
// > GJSmartTemplate::getTemplateState @ 0xb13650
// > ??> @ 0xa1fe0
//
// This function is hookable on this platform (idp: arm, 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 13:01:29 +0000
//
__int64 __fastcall generateAllBinaryStrings(int a1, int *a2, int a3, cocos2d::CCDictionary *a4, cocos2d::CCNode *a5)
{
__int64 v11[3]; // [xsp+60h] [xbp+60h] BYREF
if ( a3 == a1 )
{
printTheArray(a2, a3, v11);
cocos2d::CCDictionary::setObject((int)a4, a5);
if ( (v11[0] & 1) != 0 )
operator delete((void *)v11[2]);
}
else
{
a2[a3] = 0;
generateAllBinaryStrings(a1, a2, a3 + 1, a4, a5);
a2[a3] = 1;
generateAllBinaryStrings(a1, a2, a3 + 1, a4, a5);
}
return _stack_chk_guard;
}