{"type": "func", "start": 6442467664, "end": 6442467686, "name": "sub_180004150", "pseudocode": "// \n// sub_180004150 from 0x180004150 to 0x180004166 (22 bytes)\n// \n// 1 xrefs:\n// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x180004551\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\nbool __fastcall sub_180004150(__int64 a1, __int64 a2)\n{\n  int v2; // eax\n\n  v2 = *(_DWORD *)(a1 + 44);\n  if ( v2 == *(_DWORD *)(a2 + 44) )\n    return *(_DWORD *)(a1 + 48) < *(_DWORD *)(a2 + 48);\n  else\n    return v2 < *(_DWORD *)(a2 + 44);\n}", "assembly": "; \n; sub_180004150 from 0x180004150 to 0x180004166 (22 bytes)\n; \n; 1 xrefs:\n; > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x180004551\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     eax, [rcx+2Ch]                                                 ; +0x0, 0x180004150\ncmp     eax, [rdx+2Ch]                                                 ; +0x3, 0x180004153\njnz     short loc_180004162                                            ; +0x6, 0x180004156\nmov     eax, [rdx+30h]                                                 ; +0x8, 0x180004158\ncmp     [rcx+30h], eax                                                 ; +0xb, 0x18000415b\nsetb    al                                                             ; +0xe, 0x18000415e\nretn                                                                   ; +0x11, 0x180004161\nsetl    al                                                             ; +0x12, 0x180004162\nretn                                                                   ; +0x15, 0x180004165", "xrefs": ["cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x180004551"], "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"}