{"type": "func", "start": 4299693712, "end": 4299693911, "name": "CCSpritePlus::setFlipY", "pseudocode": "// \n// CCSpritePlus::setFlipY from 0x100481e90 to 0x100481f57 (199 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x10091e170\n// > <???> @ 0x10093ca98\n// > <???> @ 0x100991ae8\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\nvoid __fastcall CCSpritePlus::setFlipY(CCSpritePlus *a1, bool a2)\n{\n  cocos2d::CCArray *m_pChildren; // rdi\n  unsigned int v4; // r15d\n  cocos2d::CCSprite *v5; // rax\n  unsigned int v6; // r15d\n  cocos2d::CCSprite *v7; // rax\n\n  cocos2d::CCSprite::setFlipY(a1, a2);\n  if ( a1->m_propagateFlipChanges )\n  {\n    m_pChildren = a1->m_pChildren;\n    if ( m_pChildren )\n    {\n      if ( (unsigned int)sub_100720070(m_pChildren) )\n      {\n        v4 = 0;\n        do\n        {\n          v5 = (cocos2d::CCSprite *)sub_1007200C0(a1->m_pChildren, v4);\n          cocos2d::CCSprite::setFlipY(v5, a2);\n          ++v4;\n        }\n        while ( v4 < (unsigned int)sub_100720070(a1->m_pChildren) );\n      }\n    }\n  }\n  if ( a1->m_hasFollower && (unsigned int)sub_100720070(a1->m_followers) )\n  {\n    v6 = 0;\n    do\n    {\n      v7 = (cocos2d::CCSprite *)sub_1007200C0(a1->m_followers, v6);\n      cocos2d::CCSprite::setFlipY(v7, a2);\n      ++v6;\n    }\n    while ( v6 < (unsigned int)sub_100720070(a1->m_followers) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setFlipY from 0x100481e90 to 0x100481f57 (199 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x10091e170\n; > <???> @ 0x10093ca98\n; > <???> @ 0x100991ae8\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\npush    rbp                                                            ; +0x0, 0x100481e90\nmov     rbp, rsp                                                       ; +0x1, 0x100481e91\npush    r15                                                            ; +0x4, 0x100481e94\npush    r14                                                            ; +0x6, 0x100481e96\npush    r12                                                            ; +0x8, 0x100481e98\npush    rbx                                                            ; +0xa, 0x100481e9a\nmov     r14d, esi                                                      ; +0xb, 0x100481e9b\nmov     rbx, rdi                                                       ; +0xe, 0x100481e9e\ncall    cocos2d__CCSprite__setFlipY                                    ; +0x11, 0x100481ea1\ncmp     byte ptr [rbx+26Ah], 1                                         ; +0x16, 0x100481ea6\njnz     short loc_100481EFE                                            ; +0x1d, 0x100481ead\nmov     rdi, [rbx+0D0h]                                                ; +0x1f, 0x100481eaf\ntest    rdi, rdi                                                       ; +0x26, 0x100481eb6\njz      short loc_100481EFE                                            ; +0x29, 0x100481eb9\ncall    sub_100720070                                                  ; +0x2b, 0x100481ebb\ntest    eax, eax                                                       ; +0x30, 0x100481ec0\njz      short loc_100481EFE                                            ; +0x32, 0x100481ec2\nxor     r15d, r15d                                                     ; +0x34, 0x100481ec4\nmovzx   r12d, r14b                                                     ; +0x37, 0x100481ec7\nnop     dword ptr [rax+rax+00h]                                        ; +0x3b, 0x100481ecb\nmov     rdi, [rbx+0D0h]                                                ; +0x40, 0x100481ed0\nmov     esi, r15d                                                      ; +0x47, 0x100481ed7\ncall    sub_1007200C0                                                  ; +0x4a, 0x100481eda\nmov     rdi, rax                                                       ; +0x4f, 0x100481edf\nmov     esi, r12d                                                      ; +0x52, 0x100481ee2\ncall    cocos2d__CCSprite__setFlipY                                    ; +0x55, 0x100481ee5\ninc     r15d                                                           ; +0x5a, 0x100481eea\nmov     rdi, [rbx+0D0h]                                                ; +0x5d, 0x100481eed\ncall    sub_100720070                                                  ; +0x64, 0x100481ef4\ncmp     r15d, eax                                                      ; +0x69, 0x100481ef9\njb      short loc_100481ED0                                            ; +0x6c, 0x100481efc\ncmp     byte ptr [rbx+268h], 1                                         ; +0x6e, 0x100481efe\njnz     short loc_100481F4E                                            ; +0x75, 0x100481f05\nmov     rdi, [rbx+258h]                                                ; +0x77, 0x100481f07\ncall    sub_100720070                                                  ; +0x7e, 0x100481f0e\ntest    eax, eax                                                       ; +0x83, 0x100481f13\njz      short loc_100481F4E                                            ; +0x85, 0x100481f15\nxor     r15d, r15d                                                     ; +0x87, 0x100481f17\nmovzx   r14d, r14b                                                     ; +0x8a, 0x100481f1a\nxchg    ax, ax                                                         ; +0x8e, 0x100481f1e\nmov     rdi, [rbx+258h]                                                ; +0x90, 0x100481f20\nmov     esi, r15d                                                      ; +0x97, 0x100481f27\ncall    sub_1007200C0                                                  ; +0x9a, 0x100481f2a\nmov     rdi, rax                                                       ; +0x9f, 0x100481f2f\nmov     esi, r14d                                                      ; +0xa2, 0x100481f32\ncall    cocos2d__CCSprite__setFlipY                                    ; +0xa5, 0x100481f35\ninc     r15d                                                           ; +0xaa, 0x100481f3a\nmov     rdi, [rbx+258h]                                                ; +0xad, 0x100481f3d\ncall    sub_100720070                                                  ; +0xb4, 0x100481f44\ncmp     r15d, eax                                                      ; +0xb9, 0x100481f49\njb      short loc_100481F20                                            ; +0xbc, 0x100481f4c\npop     rbx                                                            ; +0xbe, 0x100481f4e\npop     r12                                                            ; +0xbf, 0x100481f4f\npop     r14                                                            ; +0xc1, 0x100481f51\npop     r15                                                            ; +0xc3, 0x100481f53\npop     rbp                                                            ; +0xc5, 0x100481f55\nretn                                                                   ; +0xc6, 0x100481f56", "xrefs": ["<???> @ 0x10091e170", "<???> @ 0x10093ca98", "<???> @ 0x100991ae8"], "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"}