{"type": "func", "start": 7839016, "end": 7839236, "name": "EasingSelectPopup::refreshCellHighlight", "pseudocode": "// \n// EasingSelectPopup::refreshCellHighlight from 0x779d28 to 0x779e04 (220 bytes)\n// \n// 2 xrefs:\n// > EasingSelectPopup::onCell @ 0x779f4e\n// > EasingSelectPopup::init @ 0x77a356\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n// \n\ncocos2d::CCArray *__fastcall EasingSelectPopup::refreshCellHighlight(EasingSelectPopup *this, int a2, int a3)\n{\n  cocos2d::CCArray *result; // r0\n  int v5; // r7\n  signed int v6; // r4\n  cocos2d::CCArray *v7; // r11\n  int v8; // r0\n  int v9; // r1\n  __int16 v10; // r1\n  int v11; // r3\n  int (__fastcall *v12)(cocos2d::CCArray *, _DWORD *, _DWORD); // r2\n  _DWORD v13[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v13[0] = this;\n  v13[1] = a2;\n  v13[2] = a3;\n  result = *((cocos2d::CCArray **)this + 178);\n  if ( result && *((_DWORD *)this + 185) )\n  {\n    if ( *((_DWORD *)this + 180) == 30 )\n      v5 = *((_DWORD *)result + 151);\n    else\n      v5 = (int)(*(float (__fastcall **)(cocos2d::CCArray *))(*(_DWORD *)result + 732))(result);\n    v6 = 0;\n    result = (cocos2d::CCArray *)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 185));\n    v7 = result;\n    while ( v6 < (int)v7 )\n    {\n      v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 185), v6);\n      if ( v8 )\n      {\n        if ( v6 == v5 )\n          v9 = 125;\n        else\n          v9 = 65;\n        (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 456))(v8, v9);\n      }\n      result = *((cocos2d::CCArray **)this + 186);\n      if ( result )\n      {\n        result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);\n        if ( v6 < (int)result )\n        {\n          result = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 186), v6);\n          if ( result )\n          {\n            v11 = *(_DWORD *)result;\n            if ( v6 == v5 )\n              LOBYTE(v13[0]) = 96;\n            else\n              v10 = -1;\n            v12 = *(int (__fastcall **)(cocos2d::CCArray *, _DWORD *, _DWORD))(v11 + 536);\n            if ( v6 == v5 )\n            {\n              *(_WORD *)((char *)v13 + 1) = 24831;\n            }\n            else\n            {\n              LOWORD(v13[0]) = v10;\n              BYTE2(v13[0]) = -1;\n            }\n            result = (cocos2d::CCArray *)v12(result, v13, v12);\n          }\n        }\n      }\n      ++v6;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EasingSelectPopup::refreshCellHighlight from 0x779d28 to 0x779e04 (220 bytes)\n; \n; 2 xrefs:\n; > EasingSelectPopup::onCell @ 0x779f4e\n; > EasingSelectPopup::init @ 0x77a356\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x779D32)                ; +0x0, 0x779d28\nPUSH.W          {R0-R2,R4-R11,LR}                                      ; +0x2, 0x779d2a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x779d2e\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x779d30\nMOV             R5, R0                                                 ; +0xa, 0x779d32\nLDR.W           R0, [R0,#0x2C8]                                        ; +0xc, 0x779d34\nLDR             R2, [R3]                                               ; +0x10, 0x779d38\nMOV             R6, R3                                                 ; +0x12, 0x779d3a\nSTR             R2, [SP,#0xC+var_8]                                    ; +0x14, 0x779d3c\nCMP             R0, #0                                                 ; +0x16, 0x779d3e\nBEQ             loc_779DF2                                             ; +0x18, 0x779d40\nLDR.W           R3, [R5,#0x2E4]                                        ; +0x1a, 0x779d42\nCMP             R3, #0                                                 ; +0x1e, 0x779d46\nBEQ             loc_779DF2                                             ; +0x20, 0x779d48\nLDR.W           R1, [R5,#0x2D0]                                        ; +0x22, 0x779d4a\nCMP             R1, #0x1E                                              ; +0x26, 0x779d4e\nBNE             loc_779D58                                             ; +0x28, 0x779d50\nLDR.W           R7, [R0,#0x25C]                                        ; +0x2a, 0x779d52\nB               loc_779D6C                                             ; +0x2e, 0x779d56\nLDR             R3, [R0]                                               ; +0x30, 0x779d58\nLDR.W           R3, [R3,#0x2DC]                                        ; +0x32, 0x779d5a\nBLX             R3                                                     ; +0x36, 0x779d5e\nVMOV            S15, R0                                                ; +0x38, 0x779d60\nVCVT.S32.F32    S15, S15                                               ; +0x3c, 0x779d64\nVMOV            R7, S15                                                ; +0x40, 0x779d68\nLDR.W           R0, [R5,#0x2E4]; this                                  ; +0x44, 0x779d6c\nMOVS            R4, #0                                                 ; +0x48, 0x779d70\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4a, 0x779d72\nLDR.W           R9, =(word_BF0B78 - 0x779D84)                          ; +0x4e, 0x779d76\nMOV             R8, SP                                                 ; +0x52, 0x779d7a\nMOV.W           R10, #0x60 ; '`'                                       ; +0x54, 0x779d7c\nADD             R9, PC; word_BF0B78                                    ; +0x58, 0x779d80\nMOV             R11, R0                                                ; +0x5a, 0x779d82\nCMP             R4, R11                                                ; +0x5c, 0x779d84\nBGE             loc_779DF2                                             ; +0x5e, 0x779d86\nLDR.W           R0, [R5,#0x2E4]; this                                  ; +0x60, 0x779d88\nMOV             R1, R4; unsigned int                                   ; +0x64, 0x779d8c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x66, 0x779d8e\nCBZ             R0, loc_779DA4                                         ; +0x6a, 0x779d92\nLDR             R3, [R0]                                               ; +0x6c, 0x779d94\nCMP             R4, R7                                                 ; +0x6e, 0x779d96\nITE EQ                                                                 ; +0x70, 0x779d98\nMOVEQ           R1, #0x7D ; '}'                                        ; +0x72, 0x779d9a\nMOVNE           R1, #0x41 ; 'A'                                        ; +0x74, 0x779d9c\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x76, 0x779d9e\nBLX             R3                                                     ; +0x7a, 0x779da2\nLDR.W           R0, [R5,#0x2E8]; this                                  ; +0x7c, 0x779da4\nCBZ             R0, loc_779DEE                                         ; +0x80, 0x779da8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x82, 0x779daa\nCMP             R4, R0                                                 ; +0x86, 0x779dae\nBGE             loc_779DEE                                             ; +0x88, 0x779db0\nLDR.W           R0, [R5,#0x2E8]; this                                  ; +0x8a, 0x779db2\nMOV             R1, R4; unsigned int                                   ; +0x8e, 0x779db6\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x90, 0x779db8\nCBZ             R0, loc_779DEE                                         ; +0x94, 0x779dbc\nLDR             R3, [R0]                                               ; +0x96, 0x779dbe\nCMP             R4, R7                                                 ; +0x98, 0x779dc0\nITE EQ                                                                 ; +0x9a, 0x779dc2\nSTRBEQ.W        R10, [SP,#0xC+var_C]                                   ; +0x9c, 0x779dc4\nLDRHNE.W        R1, [R9]                                               ; +0xa0, 0x779dc8\nLDR.W           R2, [R3,#0x218]                                        ; +0xa4, 0x779dcc\nITEE EQ                                                                ; +0xa8, 0x779dd0\nMOVEQ           R3, #0xFF                                              ; +0xaa, 0x779dd2\nLDRBNE.W        R3, [R9,#(byte_BF0B7A - 0xBF0B78)]                     ; +0xac, 0x779dd4\nSTRHNE.W        R1, [R8]                                               ; +0xb0, 0x779dd8\nMOV             R1, R8                                                 ; +0xb4, 0x779ddc\nITTE EQ                                                                ; +0xb6, 0x779dde\nSTRBEQ.W        R3, [SP,#0xC+var_B]                                    ; +0xb8, 0x779de0\nSTRBEQ.W        R10, [SP,#0xC+var_A]                                   ; +0xbc, 0x779de4\nSTRBNE.W        R3, [R8,#2]                                            ; +0xc0, 0x779de8\nBLX             R2                                                     ; +0xc4, 0x779dec\nADDS            R4, #1                                                 ; +0xc6, 0x779dee\nB               loc_779D84                                             ; +0xc8, 0x779df0\nLDR             R2, [SP,#0xC+var_8]                                    ; +0xca, 0x779df2\nLDR             R3, [R6]                                               ; +0xcc, 0x779df4\nCMP             R2, R3                                                 ; +0xce, 0x779df6\nBEQ             loc_779DFE                                             ; +0xd0, 0x779df8\nBLX             __stack_chk_fail                                       ; +0xd2, 0x779dfa\nADD             SP, SP, #0xC                                           ; +0xd6, 0x779dfe\nPOP.W           {R4-R11,PC}                                            ; +0xd8, 0x779e00", "xrefs": ["EasingSelectPopup::onCell @ 0x779f4e", "EasingSelectPopup::init @ 0x77a356"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}