{"type": "func", "start": 6443035568, "end": 6443035663, "name": "cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x18008ebb0 to 0x18008ec0f (95 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b6048\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCString *a2)\n{\n  struct cocos2d::CCString *v2; // rbx\n  cocos2d::CCArray *i; // rdi\n\n  v2 = a2;\n  for ( i = (cocos2d::CCArray *)((__int64 (__fastcall *)(struct cocos2d::CCString *))a2->__vftable[6].update)(a2);\n        i;\n        i = (cocos2d::CCArray *)((__int64 (__fastcall *)(struct cocos2d::CCString *))v2->__vftable[6].update)(v2) )\n  {\n    if ( !(unsigned int)cocos2d::CCArray::count(i) )\n      break;\n    v2 = cocos2d::CCArray::stringAtIndex(i, 0);\n  }\n  return v2[4].m_uID;\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x18008ebb0 to 0x18008ec0f (95 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b6048\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008ebb0\npush    rdi                                                            ; +0x5, 0x18008ebb5\nsub     rsp, 20h                                                       ; +0x6, 0x18008ebb6\nmov     rax, [rdx]                                                     ; +0xa, 0x18008ebba\nmov     rcx, rdx                                                       ; +0xd, 0x18008ebbd\nmov     rbx, rdx                                                       ; +0x10, 0x18008ebc0\ncall    qword ptr [rax+1D0h]                                           ; +0x13, 0x18008ebc3\nmov     rdi, rax                                                       ; +0x19, 0x18008ebc9\ntest    rax, rax                                                       ; +0x1c, 0x18008ebcc\njz      short loc_18008EBFE                                            ; +0x1f, 0x18008ebcf\nmov     rcx, rdi; this                                                 ; +0x21, 0x18008ebd1\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x18008ebd4\ntest    eax, eax                                                       ; +0x29, 0x18008ebd9\njz      short loc_18008EBFE                                            ; +0x2b, 0x18008ebdb\nxor     edx, edx; unsigned int                                         ; +0x2d, 0x18008ebdd\nmov     rcx, rdi; this                                                 ; +0x2f, 0x18008ebdf\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x32, 0x18008ebe2\nmov     rbx, rax                                                       ; +0x37, 0x18008ebe7\nmov     rcx, rbx                                                       ; +0x3a, 0x18008ebea\nmov     rax, [rax]                                                     ; +0x3d, 0x18008ebed\ncall    qword ptr [rax+1D0h]                                           ; +0x40, 0x18008ebf0\nmov     rdi, rax                                                       ; +0x46, 0x18008ebf6\ntest    rax, rax                                                       ; +0x49, 0x18008ebf9\njnz     short loc_18008EBD1                                            ; +0x4c, 0x18008ebfc\nmov     eax, [rbx+168h]                                                ; +0x4e, 0x18008ebfe\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x18008ec04\nadd     rsp, 20h                                                       ; +0x59, 0x18008ec09\npop     rdi                                                            ; +0x5d, 0x18008ec0d\nretn                                                                   ; +0x5e, 0x18008ec0e", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b6048"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}