{"type": "func", "start": 6443048416, "end": 6443048511, "name": "cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x180091de0 to 0x180091e3f (95 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0300\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:08 +0000\n// \n\n__int64 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCSprite *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::CCSprite *))(*(_QWORD *)a2 + 480LL))(a2);\n        i;\n        i = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(struct cocos2d::CCString *))(*(_QWORD *)v2 + 480LL))(v2) )\n  {\n    if ( !(unsigned int)cocos2d::CCArray::count(i) )\n      break;\n    v2 = cocos2d::CCArray::stringAtIndex(i, 0);\n  }\n  return *((unsigned int *)v2 + 90);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x180091de0 to 0x180091e3f (95 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0300\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180091de0\npush    rdi                                                            ; +0x5, 0x180091de5\nsub     rsp, 20h                                                       ; +0x6, 0x180091de6\nmov     rax, [rdx]                                                     ; +0xa, 0x180091dea\nmov     rcx, rdx                                                       ; +0xd, 0x180091ded\nmov     rbx, rdx                                                       ; +0x10, 0x180091df0\ncall    qword ptr [rax+1E0h]                                           ; +0x13, 0x180091df3\nmov     rdi, rax                                                       ; +0x19, 0x180091df9\ntest    rax, rax                                                       ; +0x1c, 0x180091dfc\njz      short loc_180091E2E                                            ; +0x1f, 0x180091dff\nmov     rcx, rdi; this                                                 ; +0x21, 0x180091e01\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x180091e04\ntest    eax, eax                                                       ; +0x29, 0x180091e09\njz      short loc_180091E2E                                            ; +0x2b, 0x180091e0b\nxor     edx, edx; unsigned int                                         ; +0x2d, 0x180091e0d\nmov     rcx, rdi; this                                                 ; +0x2f, 0x180091e0f\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x32, 0x180091e12\nmov     rbx, rax                                                       ; +0x37, 0x180091e17\nmov     rcx, rbx                                                       ; +0x3a, 0x180091e1a\nmov     rax, [rax]                                                     ; +0x3d, 0x180091e1d\ncall    qword ptr [rax+1E0h]                                           ; +0x40, 0x180091e20\nmov     rdi, rax                                                       ; +0x46, 0x180091e26\ntest    rax, rax                                                       ; +0x49, 0x180091e29\njnz     short loc_180091E01                                            ; +0x4c, 0x180091e2c\nmov     eax, [rbx+168h]                                                ; +0x4e, 0x180091e2e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x180091e34\nadd     rsp, 20h                                                       ; +0x59, 0x180091e39\npop     rdi                                                            ; +0x5d, 0x180091e3d\nretn                                                                   ; +0x5e, 0x180091e3e", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c0300"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}