{"type": "func", "start": 5037992, "end": 5038044, "name": "CollisionBlockPopup::onItemIDArrow", "pseudocode": "// \n// CollisionBlockPopup::onItemIDArrow from 0x4cdfa8 to 0x4cdfdc (52 bytes)\n// \n// 0 xrefs:\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 CollisionBlockPopup::onItemIDArrow(CollisionBlockPopup *a1, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  int m_blockID; // r3\n  int v5; // r3\n\n  v3 = a2->getTag(a2);\n  m_blockID = a1->m_blockID;\n  if ( v3 == 1 )\n    v5 = m_blockID - 1;\n  else\n    v5 = m_blockID + 1;\n  a1->m_blockID = v5;\n  CollisionBlockPopup::updateItemID(a1);\n  CollisionBlockPopup::updateEditorLabel(a1);\n  CollisionBlockPopup::updateTextInputLabel(a1);\n}", "assembly": "; \n; CollisionBlockPopup::onItemIDArrow from 0x4cdfa8 to 0x4cdfdc (52 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R1]                                               ; +0x0, 0x4cdfa8\nPUSH            {R4,LR}                                                ; +0x2, 0x4cdfaa\nMOV             R4, R0                                                 ; +0x4, 0x4cdfac\nLDR             R3, [R3,#0x20]                                         ; +0x6, 0x4cdfae\nMOV             R0, R1                                                 ; +0x8, 0x4cdfb0\nBLX             R3                                                     ; +0xa, 0x4cdfb2\nLDR.W           R3, [R4,#0x200]                                        ; +0xc, 0x4cdfb4\nCMP             R0, #1                                                 ; +0x10, 0x4cdfb8\nMOV             R0, R4; this                                           ; +0x12, 0x4cdfba\nITE EQ                                                                 ; +0x14, 0x4cdfbc\nADDEQ.W         R3, R3, #0xFFFFFFFF                                    ; +0x16, 0x4cdfbe\nADDNE           R3, #1                                                 ; +0x1a, 0x4cdfc2\nSTR.W           R3, [R4,#0x200]                                        ; +0x1c, 0x4cdfc4\nBL              _ZN19CollisionBlockPopup12updateItemIDEv; CollisionBlockPopup::updateItemID(void) ; +0x20, 0x4cdfc8\nMOV             R0, R4; this                                           ; +0x24, 0x4cdfcc\nBL              _ZN19CollisionBlockPopup17updateEditorLabelEv; CollisionBlockPopup::updateEditorLabel(void) ; +0x26, 0x4cdfce\nMOV             R0, R4; this                                           ; +0x2a, 0x4cdfd2\nPOP.W           {R4,LR}                                                ; +0x2c, 0x4cdfd4\nB.W             _ZN19CollisionBlockPopup20updateTextInputLabelEv; CollisionBlockPopup::updateTextInputLabel(void) ; +0x30, 0x4cdfd8", "xrefs": [], "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"}