//
// generateAllBinaryStrings from 0x6716b4 to 0x671734 (128 bytes)
//
// 5 xrefs:
// > generateAllBinaryStrings @ 0x6716fe
// > generateAllBinaryStrings @ 0x671712
// > GJSmartTemplate::logTemplateStatus @ 0x671764
// > GJSmartTemplate::generateRemapDict @ 0x6719a8
// > GJSmartTemplate::getTemplateState @ 0x6720ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:52 +0000
//
int __fastcall generateAllBinaryStrings(int a1, int *a2, int a3, cocos2d::CCDictionary *a4, cocos2d::CCNode *a5)
{
int v10[3]; // [sp+8h] [bp-10h] BYREF
if ( a3 == a1 )
{
printTheArray(v10, (int)a2, a3);
cocos2d::CCDictionary::setObject((int)a4, a5);
return std::string::~string((int)v10);
}
else
{
a2[a3] = 0;
generateAllBinaryStrings(a1, a2, a3 + 1, a4, a5);
a2[a3] = 1;
return generateAllBinaryStrings(a1, a2, a3 + 1, a4, a5);
}
}